Opened 4 years ago

Closed 4 years ago

Last modified 4 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: master
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 Changed 4 years ago by matiasb

Triage Stage: UnreviewedAccepted

comment:2 Changed 4 years ago by Nimesh Ghelani

Owner: changed from nobody to Nimesh Ghelani
Status: newassigned

comment:3 Changed 4 years ago by Nimesh Ghelani

Has patch: set

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

Resolution: fixed
Status: assignedclosed

In 485c024567c83160b66a62d1bd3f152070808281:

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

comment:5 Changed 4 years ago by Tim Graham <timograham@…>

In ce11dde7c028131fe42bdb87fac1b5dca2d0a2f3:

Merge pull request #977 from nims11/ticket_20150

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

comment:6 Changed 4 years ago by Tim Graham <timograham@…>

In 1d620fb957ea557aa6e4420b037a5262b4edcb67:

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

Backport of 485c024567 from master

comment:7 Changed 4 years ago by Tim Graham <timograham@…>

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