#11536: template_object_name not working correctly in archive_index
---------------------------+------------------------------------------------
 Reporter:  chrisrobison   |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Generic views  |     Version:            
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 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/11536>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to