Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
SingleObjectMixin docs Typo?
32 views
Skip to first unread message
guettli
unread,
Jun 6, 2017, 8:44:31 AM
6/6/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Current docs of SingleObjectMixin.get_context_data():
> Returns context data for displaying the list of objects.
Source:
https://docs.djangoproject.com/en/1.11/ref/class-based-views/mixins-single-object/#django.views.generic.detail.SingleObjectMixin.get_context_data
I don't understand "the list of objects". AFAIK in SingleObjectMixin there is only **one** object.
Is this a typo?
Tim Graham
unread,
Jun 6, 2017, 11:28:00 AM
6/6/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Yes, fixed in
https://github.com/django/django/commit/fc13a697b41568993ba02b7c52bb863456af6c84
. Thanks.
guettli
unread,
Jun 7, 2017, 2:45:29 AM
6/7/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi Tim,
I am curious. Is this your leisure or your job?
Nevertheless: Thank you very much for this fix and endless other fixes.
Tim Graham
unread,
Jun 7, 2017, 9:14:27 AM
6/7/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I work on Django full time as part of the Django fellowship program,
https://www.djangoproject.com/fundraising/#fellowship-program
.
Reply all
Reply to author
Forward
0 new messages