Browse Source

Fixes typo in first steps with Django doc

Ask Solem 13 năm trước cách đây
mục cha
commit
37461427d9
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      docs/django/first-steps-with-django.rst
  2. 1 1
      docs/index.rst

+ 1 - 1
docs/django/first-steps-with-django.rst

@@ -72,7 +72,7 @@ a new file called ``celerytest/tasks.py``:
 
 .. code-block:: python
 
-    from celery import task
+    from celery.task import task
 
     @task
     def add(x, y):

+ 1 - 1
docs/index.rst

@@ -14,7 +14,7 @@ Contents:
     :maxdepth: 1
 
     configuration
-    django
+    django/index
     cookbook/index
     contributing
     community