Fixed #2592: Added a warning to tutorial 1 about not naming your project "site" or "django" or anything else similarly boneheaded.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2007-02-26 20:51:21 +00:00
parent f3cc581f3a
commit b9522d0a52
1 changed files with 7 additions and 0 deletions

View File

@ -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