Permalink
Browse files

add missing import in example. thx @kevindebaere.

  • Loading branch information...
1 parent b5d3a69 commit 1a981048bfd294339a2b5ad58ecafa9e79bdc7bd @hjwp committed Nov 15, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 tutorial04.rst
View
@@ -535,6 +535,10 @@ So:
.. sourcecode:: python
:filename: mysite/polls/views.py
+ from polls.forms import PollVoteForm
+
+ [...]
+
def poll(request, poll_id):
poll = Poll.objects.get(pk=poll_id)
form = PollVoteForm(poll=poll)

0 comments on commit 1a98104

Please sign in to comment.