Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #2592: Added a warning to tutorial 1 about not naming your proj…

…ect "site" or "django" or anything else similarly boneheaded.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b9522d0a521a7684aaf3aae2d7a9d0aaab5b3974 1 parent f3cc581
@jacobian jacobian authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/tutorial01.txt
View
7 docs/tutorial01.txt
@@ -41,6 +41,13 @@ From the command line, ``cd`` into a directory where you'd like to store your
code, then run the command ``django-admin.py startproject mysite``. This
will create a ``mysite`` directory in your current directory.
+.. note::
+
+ You'll need to avoid naming projects after built-in Python or Django
+ components. In particular, this means you should avoid using names like
+ ``django`` (which will conflict with Django itself) or ``site`` (which
+ conflicts with a built-in Python package).
+
(``django-admin.py`` should be on your system path if you installed Django via
``python setup.py``. If it's not on your path, you can find it in
``site-packages/django/bin``, where ``site-packages`` is a directory within
Please sign in to comment.
Something went wrong with that request. Please try again.