OK - Now I've actually read your code properly! Yes that is a brilliant solution!
Thanks. Phoebe. On Apr 1, 7:01 pm, Nuno Maltez <nuno.li...@gmail.com> wrote: > I think the form I sent, with ModelChoiceField, will validate with the > returned values without any further code. Or am I missing something > obvious? > > On Thu, Apr 1, 2010 at 6:49 PM, phoebebright <phoebebright...@gmail.com> > wrote: > > That's one option, the problem is changing the course value returned > > from the form into a course object so that the form will validate. > > This turned out to be a surprising amount of trouble (because you have > > to do it before validation), hence reason for doing simpler work > > around. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.