Opened 16 years ago

Closed 16 years ago

#9352 closed (invalid)

Except statement argument wrong in tutorial 4

Reported by: anonymous Owned by: nobody
Component: *.djangoproject.com Version: 1.0
Severity: Keywords: tutorial 4
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

except (KeyError, Choice.DoesNotExist):

should be

except (KeyError, p.DoesNotExist):

Change History (2)

comment:1 by anonymous, 16 years ago

Component: UncategorizedDjango Web site
Keywords: tutorial 4 added

comment:2 by Russell Keith-Magee, 16 years ago

Resolution: invalid
Status: newclosed

The example cited is correct as-is.

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