summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Angel (Twidi) <s.angel@twidi.com>2015-11-21 14:37:52 +0100
committerTim Graham <timograham@gmail.com>2015-11-23 07:51:33 -0500
commit8f724817f3744c626923fe0bf83c48b3fceab774 (patch)
tree5aba6c7103392bc86bc72e6499e7c4b8f0938040
parent7c3ef19978b36b61db88a519f799f1ce8d019679 (diff)
[1.8.x] Corrected doc'd differences between django-admin and manage.py.
Backport of 8091e8c5c61fb0a6bd15e92bea1f9fdfa21c047f from master
-rw-r--r--docs/ref/django-admin.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 18d3e84f3a..4c156e4fb5 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -11,20 +11,14 @@ This document outlines all it can do.
``django-admin.py``.
In addition, ``manage.py`` is automatically created in each Django project.
-``manage.py`` is a thin wrapper around ``django-admin`` that takes care of
-several things for you before delegating to ``django-admin``:
+``manage.py`` does the same thing as ``django-admin`` but takes care of a few
+things for you:
* It puts your project's package on ``sys.path``.
* It sets the :envvar:`DJANGO_SETTINGS_MODULE` environment variable so that
it points to your project's ``settings.py`` file.
-* It calls :func:`django.setup()` to initialize various internals of Django.
-
-.. versionadded:: 1.7
-
- :func:`django.setup()` didn't exist in previous versions of Django.
-
The ``django-admin`` script should be on your system path if you installed
Django via its ``setup.py`` utility. If it's not on your path, you can find it
in ``site-packages/django/bin`` within your Python installation. Consider