summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-03-29 12:54:41 -0700
committerTim Graham <timograham@gmail.com>2013-03-29 12:54:41 -0700
commitce11dde7c028131fe42bdb87fac1b5dca2d0a2f3 (patch)
tree9f9f8dbbc2ddf96d20e94f663d0bbe2347a2a997 /docs
parent0524ad3fade53b447369ed5aca21f925c8f3f523 (diff)
parent485c024567c83160b66a62d1bd3f152070808281 (diff)
Merge pull request #977 from nims11/ticket_20150
Fixed #20150 -- Fixed an error in manager doc example
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/managers.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/managers.txt b/docs/topics/db/managers.txt
index dc2f90c8a2..8762717e09 100644
--- a/docs/topics/db/managers.txt
+++ b/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()