Skip to content

Commit

Permalink
[1.5.x] Fixed #20150 -- Fixed an error in manager doc example
Browse files Browse the repository at this point in the history
Backport of 485c024 from master
  • Loading branch information
nims11 authored and timgraham committed Mar 29, 2013
1 parent 28cb46b commit 1d620fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/db/managers.txt
Expand Up @@ -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()


Expand Down

0 comments on commit 1d620fb

Please sign in to comment.