diff options
| author | Nimesh Ghelani <nimeshghelani@gmail.com> | 2013-03-30 01:01:56 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-03-29 15:55:52 -0400 |
| commit | d2b883483974c3a45d2f74d40df164b1ae9e00e3 (patch) | |
| tree | e5d666805fb3e2ef202d493b59da4e90d7da9c07 | |
| parent | 4c6fb23dd40216604f914d4f869b40d23b13bf73 (diff) | |
[1.4.x] Fixed #20150 -- Fixed an error in manager doc example
Backport of 485c024567 from master
| -rw-r--r-- | docs/topics/db/managers.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/managers.txt b/docs/topics/db/managers.txt index eda6f9dac0..086f9dd09a 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() |
