Browse Source

apps typo in first-steps-with-django

bee-keeper 10 năm trước cách đây
mục cha
commit
36a5aa938f
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      docs/django/first-steps-with-django.rst

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

@@ -98,11 +98,11 @@ With the line above Celery will automatically discover tasks in reusable
 apps if you follow the ``tasks.py`` convention::
 
     - app1/
-        - app1/tasks.py
-        - app1/models.py
+        - tasks.py
+        - models.py
     - app2/
-        - app2/tasks.py
-        - app2/models.py
+        - tasks.py
+        - models.py
 
 This way you do not have to manually add the individual modules
 to the :setting:`CELERY_IMPORTS` setting.  The ``lambda`` so that the