alphabetize options in a ForeignKey dropdown?

2008-10-01 Thread arnold4321
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... - Apples Bananas Grapes Oranges ...instead of thi

admin error didn't clear until I reloaded polls detail view

2008-09-25 Thread arnold4321
Hi, I'm just getting started with Django. I'm working through the tutorial on setting up my first app. I ran into something that strikes me as odd. I guess I must have had some mistake in my polls/ views.py file, because I was getting an error at mysite.com/admin to that effect with debug mode