Changeset 415
- Timestamp:
- 08/05/05 17:43:35 (3 years ago)
- Files:
-
- django/trunk/django/conf/app_template/urls (deleted)
- django/trunk/docs/tutorial01.txt (modified) (1 diff)
- django/trunk/docs/tutorial03.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial01.txt
r360 r415 121 121 __init__.py 122 122 models/ 123 __init__.py124 polls.py125 urls/126 123 __init__.py 127 124 polls.py django/trunk/docs/tutorial03.txt
r366 r415 370 370 so let's move the URLs within the app directory. 371 371 372 Just copy the file ``myproject/settings/urls/main.py`` to 373 ``myproject/apps/polls/urls/polls.py``, which had already been created, as a 374 stub, by ``django-admin.py startapp``. 372 Create a directory ``myproject/apps/polls/urls/``, and put a blank file called 373 ``__init__.py`` into it. (The ``__init__.py`` file is necessary for Python to 374 treat the directory as a package.) Then copy the file 375 ``myproject/settings/urls/main.py`` to ``myproject/apps/polls/urls/polls.py``. 375 376 376 377 Then, change ``myproject/settings/urls/main.py`` to remove the poll-specific
