1. Create a Django form.

2. Add a ChoiceField to the form.

3. Populate the ChoiceField's 'choices' properly with an iterable
(tuple or list) full of iterables containing the key and value you
like.

4. Put the form into your template somewhere within your HTML form.

Shawn

P.S.
I recommend doing the Django tutorial at the bare minimum before you
start asking questions on this list. It'll be a lot easier to get help
when people see that you have put in some effort.

http://docs.djangoproject.com/en/1.2/intro/tutorial01/

-- 
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