Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Backport of 485c024 from master
  • Loading branch information...
commit d2b883483974c3a45d2f74d40df164b1ae9e00e3 1 parent 4c6fb23
@nims11 nims11 authored timgraham committed
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()
Please sign in to comment.
Something went wrong with that request. Please try again.