mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00
Fixed #24857 -- Added "python -m django" entry point.
This commit is contained in:
parent
1743efbe62
commit
617eff41ac
4 changed files with 28 additions and 1 deletions
|
@ -33,7 +33,12 @@ Django settings files, use ``django-admin`` with
|
|||
option.
|
||||
|
||||
The command-line examples throughout this document use ``django-admin`` to
|
||||
be consistent, but any example can use ``manage.py`` just as well.
|
||||
be consistent, but any example can use ``manage.py`` or ``python -m django``
|
||||
just as well.
|
||||
|
||||
.. versionadded:: 1.9
|
||||
|
||||
``python -m django`` was added.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
@ -42,6 +47,7 @@ Usage
|
|||
|
||||
$ django-admin <command> [options]
|
||||
$ manage.py <command> [options]
|
||||
$ python -m django <command> [options]
|
||||
|
||||
``command`` should be one of the commands listed in this document.
|
||||
``options``, which is optional, should be zero or more of the options available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue