Tutorial 04 discrepancies
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
A couple of discrepancies in Part 4 of the tutorial:
About halfway down, it says that the code for the results() view is exactly the same as the detail() view except for the template name. That's not correct, however. The detail() view has a second argument in the return statement: "context_instance=RequestContext(request)"
Later, near the bottom, in the explanatory text, it states: "In our case, it'll use the template "polls/poll_detail.html"
Actually, it uses the template "polls/detail.html"