Permalink
Browse files

[1.5.x] Fixed #20150 -- Fixed an error in manager doc example

Backport of 485c024 from master
  • Loading branch information...
1 parent 28cb46b commit 1d620fb957ea557aa6e4420b037a5262b4edcb67 @nims11 nims11 committed with timgraham Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/db/managers.txt
View
2 docs/topics/db/managers.txt
@@ -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()

0 comments on commit 1d620fb

Please sign in to comment.