Changed docs/tutorial01.txt to use a tree format instead of 'ls' output -- thanks for the suggestion, Ken Kinder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1303933fd9
commit
025b16178f
|
@ -36,15 +36,18 @@ A project is a collection of settings for an instance of Django -- including
|
|||
database configuration, Django-specific options and application-specific
|
||||
settings. Let's look at what ``startproject`` created::
|
||||
|
||||
$ cd myproject/
|
||||
$ ls
|
||||
apps/ __init__.py settings/
|
||||
$ ls settings/
|
||||
__init__.py admin.py main.py urls/
|
||||
$ ls settings/urls/
|
||||
__init__.py admin.py main.py
|
||||
$ ls apps/
|
||||
myproject/
|
||||
__init__.py
|
||||
apps/
|
||||
__init__.py
|
||||
settings/
|
||||
__init__.py
|
||||
admin.py
|
||||
main.py
|
||||
urls/
|
||||
__init__.py
|
||||
admin.py
|
||||
main.py
|
||||
|
||||
First, edit ``myproject/settings/main.py``. It's a normal Python module with
|
||||
module-level variables representing Django settings. Edit the file and change
|
||||
|
|
Loading…
Reference in New Issue