#10163: Admin view redirection failures
------------------------------------------------------------+---------------
Reporter: Vinay Sajip <[email protected]> | Owner:
nobody
Status: reopened | Milestone:
1.1
Component: Uncategorized | Version:
SVN
Resolution: | Keywords:
admin view redirection
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------------+---------------
Changes (by kmtracey):
* stage: Unreviewed => Accepted
Comment:
I'll attach a patch that has the virtue of fixing the observed problem,
but little else to recommend it. It forces the queryset (if it's actually
a queryset..turns out sometimes lists are passed in for the queryset arg)
returned by !BaseModelFormSet get_queryset to have some ordering. But I
couldn't see any way to easily determine if an arbitrary queryset already
has an ordering specified, so the patch goes and digs into various
attributes of the queryset's query to try to figure that out. There must
be an easier way to do this??
--
Ticket URL: <http://code.djangoproject.com/ticket/10163#comment:5>
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
-~----------~----~----~----~------~----~------~--~---