#16218: Class-based month archive doesn't behave like previous generic view --------------------------------------+------------------------------- Reporter: nnrcschmdt | Owner: nobody Type: Bug | Status: new Milestone: | Component: Generic views Version: SVN | Severity: Normal Resolution: | Keywords: Triage Stage: Accepted | Has patch: 1 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | --------------------------------------+------------------------------- Changes (by bpeschier):
* has_patch: 0 => 1 Comment: Patch updates generic CBV to sort {{{date_list}}} in basic index view descending and year/month view ascending. It also adds tests to check the order. This covers the first fail in the report. The second fail is a different story: in the generic CBV code there is a section about preventing to link to empty pages ![1]. Conforming to that, the patch contains an update for the docs to clarify that behaviour with the {{{allow_empty}}} setting. This is different from the old generic views, where this data is given even if {{{allow_empty}}} is {{{False}}}. ![1]: https://code.djangoproject.com/browser/django/trunk/django/views/generic/dates.py?rev=16363#L520 -- Ticket URL: <https://code.djangoproject.com/ticket/16218#comment:4> Django <https://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.