Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
James Bennett authored August 30, 2008

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/django-admin.txt
6  docs/ref/django-admin.txt
@@ -645,6 +645,12 @@ startproject <projectname>
645 645
 Creates a Django project directory structure for the given project name in the
646 646
 current directory.
647 647
 
  648
+This command is disabled when the ``--settings`` option to
  649
+``django-admin.py`` is used, or when the environment variable
  650
+``DJANGO_SETTINGS_MODULE`` has been set. To re-enable it in these
  651
+situations, either omit the ``--settings`` option or unset
  652
+``DJANGO_SETTINGS_MODULE``.
  653
+
648 654
 syncdb
649 655
 ------
650 656
 

0 notes on commit d73c9a5

Please sign in to comment.
Something went wrong with that request. Please try again.