mirror of https://github.com/django/django.git
Merge pull request #977 from nims11/ticket_20150
Fixed #20150 -- Fixed an error in manager doc example
This commit is contained in:
commit
ce11dde7c0
|
@ -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…
Reference in New Issue