Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Backport of 485c024 from master
  • Loading branch information...
commit 1d620fb957ea557aa6e4420b037a5262b4edcb67 1 parent 28cb46b
Nimesh Ghelani authored timgraham committed

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/db/managers.txt
2  docs/topics/db/managers.txt
@@ -85,7 +85,7 @@ returns a list of all ``OpinionPoll`` objects, each with an extra
85 85
         objects = PollManager()
86 86
 
87 87
     class Response(models.Model):
88  
-        poll = models.ForeignKey(Poll)
  88
+        poll = models.ForeignKey(OpinionPoll)
89 89
         person_name = models.CharField(max_length=50)
90 90
         response = models.TextField()
91 91
 

0 notes on commit 1d620fb

Please sign in to comment.
Something went wrong with that request. Please try again.