--
Ticket URL: <https://code.djangoproject.com/ticket/21336>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0
Comment:
template_object_name was definitely replaced with context_object_name when
changing from function to class-based generic views.
If you grep the source code for 1.5, you can see that template_object_name
does not appear any where in the code:
{{{
[django]$ git checkout 1.5
HEAD is now at b170c07... [1.5.x] Correct final element of version tuple.
[django]$ git grep template_object_name
[django]$
}}}
Note [https://docs.djangoproject.com/en/1.4/topics/generic-views-migration
/#the-list-suffix-on-list-views the warning in the docs] that the
template_object_name was appended with the suffix '_list', but in a class-
based ListView, the context_object_name is used verbatim.
If you need further help please see
https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
--
Ticket URL: <https://code.djangoproject.com/ticket/21336#comment:1>