Thanks, Karen. Before your reply, I had read that page (that you
linked to) so many times but I just kept overlooking the default
option.

On Apr 8, 6:00 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Wed, Apr 8, 2009 at 5:42 PM, Great Kindness <redducks...@gmail.com>wrote:
>
>
>
> > I'm just getting started with django. When I'm using the admin
> > interface to add or edit data, some of the data fields are populated
> > via drop-down lists. The default for these lists is always '----'. How
> > can I get it to default to a particular value in that list?
>
> Specify the value you want as the default for the field in the model:
>
> http://docs.djangoproject.com/en/dev/topics/db/models/#field-options
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
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