Refs #15372 -- Removed obsolete docs about manage.py setting sys.path.

This commit is contained in:
Andy Chosak 2019-02-06 13:53:07 -05:00 committed by Tim Graham
parent 77d25dbd0f
commit 80f4ecc647
1 changed files with 4 additions and 8 deletions

View File

@ -5,14 +5,10 @@
``django-admin`` is Django's command-line utility for administrative tasks. ``django-admin`` is Django's command-line utility for administrative tasks.
This document outlines all it can do. This document outlines all it can do.
In addition, ``manage.py`` is automatically created in each Django project. In addition, ``manage.py`` is automatically created in each Django project. It
``manage.py`` does the same thing as ``django-admin`` but takes care of a few does the same thing as ``django-admin`` but also sets the
things for you: :envvar:`DJANGO_SETTINGS_MODULE` environment variable so that it points to your
project's ``settings.py`` file.
* 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.
The ``django-admin`` script should be on your system path if you installed 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 Django via its ``setup.py`` utility. If it's not on your path, you can find it