Opened 11 years ago
Closed 11 years ago
#21834 closed Bug (fixed)
A simple typo to be fixed
Description ¶
In https://docs.djangoproject.com/en/1.6/intro/tutorial04/
class DetailView(generic.DetailView): model = Poll template_name = 'polls/detail.html'
By default, the DetailView generic view uses a template called <app name>/<model name>_detail.html. In our case, it’ll use the template "polls/poll_detail.html". The template is 'polls/detail.html' as indicated in the code.
The bold part should be just detail
Note:
See TracTickets
for help on using tickets.
In 45535c8a4cba200cd610010ec1e2d515de6c2475: