On Fri, May 21, 2010 at 8:38 AM, tiemonster <[email protected]> wrote:

> Is there a reason that the default ordering on the User model is by
> pk? Would it be a reasonable request to ask that the default ordering
> for this model be username? I have several models that have a m2m to
> the User model, and it's very hard to find someone to add using the
> admin when the users are in pk order. I wanted to test the waters
> before opening a ticket.
>

Actually there is no default ordering, and yes, there is a reason, see:
http://code.djangoproject.com/ticket/6089, which also shows a workaround for
getting ordering back for specific form fields. Granted that is a bit of a
pain, and there is some dissatisfaction expressed at the end of the ticket,
but I don't see a specific proposal for how to address the issue while still
not introducing problem for sites with large numbers of users, so that's the
way it is now.

Karen

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en.

Reply via email to