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:23 -0400 |
| commit | 1d620fb957ea557aa6e4420b037a5262b4edcb67 (patch) | |
| tree | beb8010a52c61b337b7f6724660f1bb1d128a902 /docs | |
| parent | 28cb46befb012cbb90744ca68da1d552bb9475ce (diff) | |
[1.5.x] Fixed #20150 -- Fixed an error in manager doc example
Backport of 485c024567 from master
Diffstat (limited to 'docs')
| -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 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() |
