mirror of https://github.com/django/django.git
Fixed typo in docs/tutorial04.txt -- thanks, 'nitpicker'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1e479ba90d
commit
1303933fd9
|
@ -206,8 +206,8 @@ objects" and "display a detail page for a particular type of object."
|
|||
By default, the ``object_detail`` generic view uses a template called
|
||||
``<app_label>/<module_name>_detail``. In our case, it'll use the template
|
||||
``"polls/polls_detail"``. Thus, rename your ``polls/detail.html`` template to
|
||||
``polls/polls_detail``, and change the ``template_loader.get_template()`` line
|
||||
in ``vote()``.
|
||||
``polls/polls_detail.html``, and change the ``template_loader.get_template()``
|
||||
line in ``vote()``.
|
||||
|
||||
Similarly, the ``object_list`` generic view uses a template called
|
||||
``<app_label>/<module_name>_list``. Thus, rename ``polls/index.html`` to
|
||||
|
|
Loading…
Reference in New Issue