ソースを参照

Fixes typo in first steps with Django doc

Ask Solem 13 年 前
コミット
37461427d9
2 ファイル変更2 行追加2 行削除
  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