#7309: NFA: Don't override order_by if no default ordering is specified -------------------------------------+------------------------------------- Reporter: lukas@… | Owner: nobody Type: Bug | Status: closed Milestone: | Component: contrib.admin Version: SVN | Severity: Normal Resolution: fixed | Keywords: order_by nfa-someday Triage Stage: Design | Has patch: 0 decision needed | Needs tests: 0 Needs documentation: 0 | Patch needs improvement: 0 | -------------------------------------+------------------------------------- Changes (by lukeplant):
* status: new => closed * resolution: => fixed Comment: In [16316]: {{{ #!CommitTicketReference repository="" revision="16316" Fixed #11868 - Multiple sort in admin changelist. Many thanks to bendavis78 for the initial patch, and for input from others. Also fixed #7309. If people were relying on the undocumented default ordering applied by the admin before, they will need to add 'ordering = ["-pk"]' to their ModelAdmin. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/7309#comment:11> 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.