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:
parent
f3cc581f3a
commit
b9522d0a52
|
@ -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
|
code, then run the command ``django-admin.py startproject mysite``. This
|
||||||
will create a ``mysite`` directory in your current directory.
|
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
|
(``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
|
``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
|
``site-packages/django/bin``, where ``site-packages`` is a directory within
|
||||||
|
|
Loading…
Reference in New Issue