浏览代码

Removes ambiguous line from django tut. Closes #2280

Ask Solem 11 年之前
父节点
当前提交
a2819fe7f1
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      docs/django/first-steps-with-django.rst

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

@@ -62,15 +62,15 @@ for the :program:`celery` command-line program:
 
 
     os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
     os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
 
 
-You don't need this line, but it saves you from always passing in the
-settings module to the celery program.  It must always come before
-creating the app instances, which is what we do next:
+Specifying the settings here means the ``celery`` command line program
+will know where your Django project is.  This statement must always appear before
+the app instance is created, which is what we do next:
 
 
 .. code-block:: python
 .. code-block:: python
 
 
     app = Celery('proj')
     app = Celery('proj')
 
 
-This is our instance of the library, you can have many instances
+This is your instance of the library, you can have many instances
 but there's probably no reason for that when using Django.
 but there's probably no reason for that when using Django.
 
 
 We also add the Django settings module as a configuration source
 We also add the Django settings module as a configuration source