#14232: date_list context variable incorrectly documented -------------------------------------+-------------------------------------- Reporter: clelland | Owner: nobody Status: new | Milestone: 1.3 Component: Documentation | Version: SVN Keywords: date_list generic views | Stage: Unreviewed Has_patch: 1 | -------------------------------------+-------------------------------------- The 'date_list' context variable, provided by django.views.generic.date_based.archive_year and .archive_month, is documented as being a list of datetime.date objects. In fact, it is a DateQuerySet, which in at least some circumstances, behaves quite differently.
I believe that the behaviour, as implemented, is correct, and that this is simply a documentation issue. I have attached a patch which, I believe, clarifies the situation. -- Ticket URL: <http://code.djangoproject.com/ticket/14232> 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.
