#3134: [patch] The archive_year date-based generic view should not override a
model's default ordering
---------------------------------------------+------------------------------
Reporter: [email protected] | Owner: jacob
Status: closed | Milestone:
Component: Generic views | Version: SVN
Resolution: fixed | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Comment (by sunrise):
I've marked #3264 as a duplicate of this, as I think we have the better
solution here.
To compare the two: the patch at #3264 changes the archive_year view to
use the model's default ordering (thus changing the behaviour of the
view); this patch offers an optional parameter to specify ordering,
defaulting to the current behaviour if left blank. There are also changes
to the docs attached here.[http://www.tagnice.com nike air yeezy]
This ticket is missing unit tests though; unless anyone else provides them
first I will add them when I can.
--
Ticket URL: <http://code.djangoproject.com/ticket/3134#comment:10>
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
-~----------~----~----~----~------~----~------~--~---