On Thu, 2011-03-31 at 04:43 -0700, rune wrote:
> I just started with Django, done the tutorial, now I'd like to create
> a page were users can put
> requests in a queue. Lets say the fields to display are user, date,
> filepath, date to load.
> I can create this with a modelform, but I'd like the user field to be
> a drop down list with values,
> read from the data base. How would I do this? 

http://docs.djangoproject.com/en/1.3/topics/forms/modelforms/#using-a-custom-queryset
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

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