From 617eff41acc583a3b0f97bb6bcc7efe096dc4891 Mon Sep 17 00:00:00 2001 From: Ryan Hiebert Date: Thu, 30 Apr 2015 10:54:45 -0500 Subject: Fixed #24857 -- Added "python -m django" entry point. --- docs/ref/django-admin.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 4db73e4244..94b12fe9d7 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -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 [options] $ manage.py [options] + $ python -m django [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 -- cgit v1.3