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

This commit is contained in:
Nimesh Ghelani 2013-03-30 01:01:56 +05:30
parent 391ec5a085
commit 485c024567
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ returns a list of all ``OpinionPoll`` objects, each with an extra
objects = PollManager() objects = PollManager()
class Response(models.Model): class Response(models.Model):
poll = models.ForeignKey(Poll) poll = models.ForeignKey(OpinionPoll)
person_name = models.CharField(max_length=50) person_name = models.CharField(max_length=50)
response = models.TextField() response = models.TextField()