#3895: archive_index should have template_object_name
-------------------------------------------------+--------------------------
Reporter: marchino <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Component:
Generic views
Version: SVN | Resolution:
Keywords: | Stage:
Design decision needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------------------+--------------------------
Changes (by toke):
* cc: [EMAIL PROTECTED] (added)
* needs_better_patch: => 0
* stage: Unreviewed => Design decision needed
* needs_tests: => 0
* needs_docs: => 0
Comment:
archive_index and object_list are not completly interchangable of course.
Also there is the issue with appending _list to template_object_name.
archive_index is somewhat inconsistent with that.
||method||has template_object_name?||appends _list?||
||archive_index||no 1)||no||
||archive_year||yes||yes||
||archive_month||yes||yes||
||archive_week||yes||yes||
||archive_day||yes||yes||
||object_list||yes||yes||
1) Patch will fix this
How to address the appending of _list without breaking something?
Adding it only if template_object_name was set is not consistent.
--
Ticket URL: <http://code.djangoproject.com/ticket/3895#comment:1>
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
-~----------~----~----~----~------~----~------~--~---