it's just a wild guess, but what about the initial property?
http://docs.djangoproject.com/en/dev/ref/forms/fields/#initial

On szept. 14, 16:36, Dmitry Gladkov <dmitry.glad...@gmail.com> wrote:
> By default Django make select options like this:
> <option value="" selected="selected">---------</option>
> <option value="1">admin</option>
> <option value="2">Testuser</option>
>
> How to enforce Django to show it like this:
> <option value="1" selected="selected">admin</option>
> <option value="2">Testuser</option>
>
> I've managed to do so playing with form properties in view but that
> looked ugly (unfortunately I've lost the code example but you can
> trust me:))
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to