mirror of
https://github.com/django/django.git
synced 2025-04-21 15:54:37 +00:00
[1.4.x] Fixed #20150 -- Fixed an error in manager doc example
Backport of 485c024567 from master
This commit is contained in:
parent
4c6fb23dd4
commit
d2b8834839
@ -85,7 +85,7 @@ returns a list of all ``OpinionPoll`` objects, each with an extra
|
||||
objects = PollManager()
|
||||
|
||||
class Response(models.Model):
|
||||
poll = models.ForeignKey(Poll)
|
||||
poll = models.ForeignKey(OpinionPoll)
|
||||
person_name = models.CharField(max_length=50)
|
||||
response = models.TextField()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user