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
|
database configuration, Django-specific options and application-specific
|
||||||
settings. Let's look at what ``startproject`` created::
|
settings. Let's look at what ``startproject`` created::
|
||||||
|
|
||||||
$ cd myproject/
|
myproject/
|
||||||
$ ls
|
__init__.py
|
||||||
apps/ __init__.py settings/
|
apps/
|
||||||
$ ls settings/
|
__init__.py
|
||||||
__init__.py admin.py main.py urls/
|
settings/
|
||||||
$ ls settings/urls/
|
__init__.py
|
||||||
__init__.py admin.py main.py
|
admin.py
|
||||||
$ ls apps/
|
main.py
|
||||||
__init__.py
|
urls/
|
||||||
|
__init__.py
|
||||||
|
admin.py
|
||||||
|
main.py
|
||||||
|
|
||||||
First, edit ``myproject/settings/main.py``. It's a normal Python module with
|
First, edit ``myproject/settings/main.py``. It's a normal Python module with
|
||||||
module-level variables representing Django settings. Edit the file and change
|
module-level variables representing Django settings. Edit the file and change
|
||||||
|
|
Loading…
Reference in New Issue