#8682: Admin ordering works incorrectly if ModelAdmin.ordering has several
fields,
and one of them is an another Model field
--------------------------------------+-------------------------------------
Reporter: semenov | Owner: nobody
Status: closed | Milestone:
Component: Admin interface | Version: SVN
Resolution: invalid | Keywords: newforms-admin admin
ordering
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by kmtracey):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
I think it's coincidence that the ordering works as you want when the
fields are in the same model, the Admin only uses one field for ordering.
See http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ordering and
#7942. Closing as invalid since the docs state this doesn't work.
--
Ticket URL: <http://code.djangoproject.com/ticket/8682#comment:1>
Django Code <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
-~----------~----~----~----~------~----~------~--~---