From 1d620fb957ea557aa6e4420b037a5262b4edcb67 Mon Sep 17 00:00:00 2001 From: Nimesh Ghelani Date: Sat, 30 Mar 2013 01:01:56 +0530 Subject: [PATCH] [1.5.x] Fixed #20150 -- Fixed an error in manager doc example Backport of 485c024567 from master --- docs/topics/db/managers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/db/managers.txt b/docs/topics/db/managers.txt index 36b2ad0a94..58088fed99 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()