#3895: archive_index should have template_object_name
----------------------------------------------+-----------------------------
Reporter:  marchino <[EMAIL PROTECTED]>  |       Owner:  jacob        
  Status:  new                                |   Component:  Generic views
 Version:  SVN                                |    Keywords:               
   Stage:  Unreviewed                         |   Has_patch:  1            
----------------------------------------------+-----------------------------
 generic views archive_index and object_list are logically the same thing:
 a list of objects so they can use the same template but archive_index uses
 latest as template_object_name and object_list appends '_list' to it, so
 it is impossible to do this.
 
 with this small patch is possible to use the same object name with both
 generic views. maybe you sould look deeper for a more consistency in
 generic views, i didn't.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3895>
Django Code <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to