Ticket #2047: tutorial03.txt.2.diff

File tutorial03.txt.2.diff, 601 bytes (added by asmodai@…, 18 years ago)

Patch for changing the TemplateDoesNotExist? error to reflect reality

  • django/docs/tutorial03.txt

     
    214214
    215215Reload the page. Now you'll see an error::
    216216
    217     TemplateDoesNotExist: Your TEMPLATE_DIRS settings is empty.
    218     Change it to point to at least one template directory.
     217    TemplateDoesNotExist at /polls/
     218    polls/index.html
    219219
    220220Ah. There's no template yet. First, create a directory, somewhere on your
    221221filesystem, whose contents Django can access. (Django runs as whatever user
Back to Top