Django

Code

Ticket #548 (closed: fixed)

Opened 3 years ago

Last modified 1 year ago

missing steps at end of tutorial04.txt

Reported by: matt@gnik.com Assigned to: jacob
Milestone: Component: Documentation
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

For completeness... after switching over to use the generic views at the end of tutorial 4, one also has to update the vote view's exception handler to call the polls/polls_deatil template and pass 'object' in the context.

Attachments

Change History

10/31/05 18:49:53 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [1034]) Fixed #548 -- Added missing step at the end of docs/tutorial04.txt

07/04/07 18:34:28 changed by a173yc@yandex.ru

  • status changed from closed to reopened.
  • resolution deleted.

and vote view again

after completion of 4th tutorial i've got NoReverseMatch? exception, 'cause reverse() function couldn't match any regexps in "urls" module when redirect appeared (after vote increment)

it's risen 'cause tutorial don't says how need to replace reverse() function in vote view after switching to use generic views at the end of tutorial

sry if it's just my omission and sry for my english :)

07/04/07 23:20:03 changed by SmileyChris

  • status changed from reopened to closed.
  • resolution set to fixed.

Good job of searching the tickets. This is a dupe of #4615 however.


Add/Change #548 (missing steps at end of tutorial04.txt)




Change Properties
Action