Hi all, In the admin interface, if I want the options in a dropdown for a ForeignKey field to be alphabetized by option rather than ordered by the value (the numeric ID), how would I do that?
For example, I want something like this... <select name="xxx" id="xxx"> <option value="" selected="selected">---------</option> <option value="2">Apples</option> <option value="1">Bananas</option> <option value="4">Grapes</option> <option value="3">Oranges</option> </select> ...instead of this... <select name="xxx" id="xxx"> <option value="" selected="selected">---------</option> <option value="1">Bananas</option> <option value="2">Apples</option> <option value="3">Oranges</option> <option value="4">Grapes</option> </select> Thanks, Ryan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---