mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin.
Unify on the entry point created by setuptools entry_points feature.
This commit is contained in:
parent
8eb0f73eed
commit
5708327c37
10 changed files with 79 additions and 32 deletions
|
@ -11,14 +11,8 @@ does the same thing as ``django-admin`` but also sets the
|
|||
project's ``settings.py`` file.
|
||||
|
||||
The ``django-admin`` script should be on your system path if you installed
|
||||
Django via ``pip``. If it's not on your path, you can find it in
|
||||
``site-packages/django/bin`` within your Python installation. Consider
|
||||
symlinking it from some place on your path, such as ``/usr/local/bin``.
|
||||
|
||||
For Windows users, who do not have symlinking functionality available, you can
|
||||
copy ``django-admin.exe`` to a location on your existing path or edit the
|
||||
``PATH`` settings (under ``Settings - Control Panel - System - Advanced -
|
||||
Environment...``) to point to its installed location.
|
||||
Django via ``pip``. If it's not in your path, ensure you have your virtual
|
||||
environment activated.
|
||||
|
||||
Generally, when working on a single Django project, it's easier to use
|
||||
``manage.py`` than ``django-admin``. If you need to switch between multiple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue