#3895: archive_index should have template_object_name
--------------------------------------------------------+-------------------
Reporter: marchino <[email protected]> | Owner: nobody
Status: closed | Milestone:
Component: Generic views | Version: SVN
Resolution: fixed | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
--------------------------------------------------------+-------------------
Changes (by chrisrobison):
* needs_better_patch: 0 => 1
Comment:
Using template_object_name in archive_index is said to be fixed, however,
I don't believe it is working how it should. I have created a date_based
blog and once I assign a template_object_name of 'entry', I then have to
change the template to something that seems backwards.
instead of:
{{{
{% for entry in latest %}
{% entry.title %}
}}}
it must be:
{{{
{% for latest in entry %}
{% latest.title %}
}}}
This is not consistent with the other date_based templates.
--
Ticket URL: <http://code.djangoproject.com/ticket/3895#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---