Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#20150 closed Cleanup/optimization (fixed)

an error in model field in example on page https://docs.djangoproject.com/en/dev/topics/db/managers/

Reported by: anonymous Owned by: Nimesh Ghelani
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

There's a little error in class Response - wrong model name for ForeignKey field. Should be
poll = models.ForeignKey(OpinionPoll)
instead of
poll = models.ForeignKey(Poll)

Change History (7)

comment:1 by matiasb, 12 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Nimesh Ghelani, 12 years ago

Owner: changed from nobody to Nimesh Ghelani
Status: newassigned

comment:3 by Nimesh Ghelani, 12 years ago

Has patch: set

comment:4 by Nimesh Ghelani <nimeshghelani@…>, 12 years ago

Resolution: fixed
Status: assignedclosed

In 485c024567c83160b66a62d1bd3f152070808281:

Fixed #20150 -- Fixed an error in manager doc example

comment:5 by Tim Graham <timograham@…>, 12 years ago

In ce11dde7c028131fe42bdb87fac1b5dca2d0a2f3:

Merge pull request #977 from nims11/ticket_20150

Fixed #20150 -- Fixed an error in manager doc example

comment:6 by Tim Graham <timograham@…>, 12 years ago

In 1d620fb957ea557aa6e4420b037a5262b4edcb67:

[1.5.x] Fixed #20150 -- Fixed an error in manager doc example

Backport of 485c024567 from master

comment:7 by Tim Graham <timograham@…>, 12 years ago

In d2b883483974c3a45d2f74d40df164b1ae9e00e3:

[1.4.x] Fixed #20150 -- Fixed an error in manager doc example

Backport of 485c024567 from master

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