mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
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/
|
||||
__init__.py
|
||||
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
Block a user