Ticket #2047: tutorial03.txt.diff

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

Patch for changing the TemplateDoesNotExist error to reflect reality

  • django/docs/tutorial03.txt

     
    209209        })
    210210        return HttpResponse(t.render(c))
    211211
    212 That code loads the template called "polls/index" and passes it a context. The
    213 context is a dictionary mapping template variable names to Python objects.
     212That code loads the template called "polls/index.html" and passes it a context.
     213The context is a dictionary mapping template variable names to Python objects.
    214214
    215215Reload the page. Now you'll see an error::
    216216
Back to Top