#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 , 13 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 13 years ago
| Has patch: | set |
|---|
comment:4 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Pull request https://github.com/django/django/pull/977