#2429: Error in Tutorial 4
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: jacob
Type: defect | Status: new
Priority: normal | Milestone:
Component: Documentation | Version:
Severity: blocker | Keywords:
---------------------------+------------------------------------------------
A sentence "So let's create a vote() function in mysite/polls/views.py:"
is followed by a code block.
It seems there should be also
from django.core.exceptions import ObjectDoesNotExist
and the line
except (KeyError, Choice.DoesNotExist):
should be replaced with
except (KeyError, ObjectDoesNotExist):
Python 2.4.3
Django svn version 3439
I'm sorry if I'm mistaken
--
Ticket URL: <http://code.djangoproject.com/ticket/2429>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---