Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #8639; documented the fact that the "startproject" command is i…

…nvalid when fed an existing project's settings

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d73c9a5671b9ccc96b3d5e31a95902bd2288d091 1 parent 0a11c13
@ubernostrum ubernostrum authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/ref/django-admin.txt
View
6 docs/ref/django-admin.txt
@@ -645,6 +645,12 @@ startproject <projectname>
Creates a Django project directory structure for the given project name in the
current directory.
+This command is disabled when the ``--settings`` option to
+``django-admin.py`` is used, or when the environment variable
+``DJANGO_SETTINGS_MODULE`` has been set. To re-enable it in these
+situations, either omit the ``--settings`` option or unset
+``DJANGO_SETTINGS_MODULE``.
+
syncdb
------
Please sign in to comment.
Something went wrong with that request. Please try again.