Opened 8 years ago

Closed 8 years ago

#7253 closed (wontfix)

typo on ?

Reported by: anonymous Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:



I got this error when following until tutorial04 :
TypeError at /polls/1/vote/
vote() got an unexpected keyword argument 'poll_id'

And finally point to this:
Change it like so:

urlpatterns = patterns(,

(r'(?P<poll_id>\d+)/vote/$', ''),


and after the <poll_id> into <object_id>
the error has disappeared.
So I think that should be a typo or mistyped.
Please ignore if it was not.

Change History (1)

comment:1 Changed 8 years ago by Simon Greenhill

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: wontfix
Status: newclosed

I think what's happened is that you skipped the step changing the hand-written views into generic views (i.e. around line 199 we introduce generic views (which require <object_id>)).

Note: See TracTickets for help on using tickets.
Back to Top