#2385: "date_list" is empty in "archive_index" generic view
---------------------------------------------------+------------------------
Reporter: Tyson Tate <[EMAIL PROTECTED]> | Owner: jacob
Type: defect | Status: new
Priority: normal | Milestone:
Component: Generic views | Version: SVN
Severity: normal | Keywords:
archive_index date_based genericview
---------------------------------------------------+------------------------
I created a date-based model with templates and used the
{{{django.views.generic.date_based}}} views to hook them up. I added
objects through the admin interface.
When navigating to the "archive_index", there are no objects in
"date_list". The docs say that "date_list" contains "A list of
datetime.date objects representing all years that have objects available
according to queryset." It does not.
--
Ticket URL: <http://code.djangoproject.com/ticket/2385>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---