mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
Fixed #4307 -- Clarified that ROOT_URLCONF is in settings.py and fixed a small
typo. Pointed out by rogerpack2005@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5785763833
commit
13db259fe0
@ -60,9 +60,10 @@ arguments from the dictionary (an optional third item in the tuple).
|
||||
For more on ``HTTPRequest`` objects, see the `request and response documentation`_.
|
||||
For more details on URLconfs, see the `URLconf documentation`_.
|
||||
|
||||
When you ran ``python manage.py startproject mysite`` at the beginning of
|
||||
When you ran ``python django-admin.py startproject mysite`` at the beginning of
|
||||
Tutorial 1, it created a default URLconf in ``mysite/urls.py``. It also
|
||||
automatically set your ``ROOT_URLCONF`` setting to point at that file::
|
||||
automatically set your ``ROOT_URLCONF`` setting (in ``settings.py``) to point
|
||||
at that file::
|
||||
|
||||
ROOT_URLCONF = 'mysite.urls'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user