summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNimesh Ghelani <nimeshghelani@gmail.com>2013-03-30 01:01:56 +0530
committerNimesh Ghelani <nimeshghelani@gmail.com>2013-03-30 01:01:56 +0530
commit485c024567c83160b66a62d1bd3f152070808281 (patch)
treeba82ace7b4fbb77f6633dd89a1356b88b31f71c2 /docs
parent391ec5a08582f9479366e38afb4cb0547c39f073 (diff)
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()