Django

Code

Changeset 202

Show
Ignore:
Timestamp:
07/19/05 09:41:08 (3 years ago)
Author:
adrian
Message:

Changed tutorial03 to match the new error message from [193]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/tutorial03.txt

    r201 r202  
    123123You should get a Python traceback with the following error message:: 
    124124 
    125     ViewDoesNotExist: myproject.polls.views.polls.index 
     125    ViewDoesNotExist: Tried myproject.apps.polls.views.polls.index. 
     126    Error was: 'module' object has no attribute 'index' 
    126127 
    127128Try "/polls/23/", "/polls/23/results/" and "/polls/23/vote/". The error 
     
    201202Reload the page. Now you'll see an error:: 
    202203 
    203     TemplateDoesNotExist: Your TEMPLATE_DIRS settings is empty. Change it to point to at least one template directory. 
     204    TemplateDoesNotExist: Your TEMPLATE_DIRS settings is empty. 
     205    Change it to point to at least one template directory. 
    204206 
    205207Ah. There's no template yet. First, create a directory, somewhere on your