Thanks David This example is exactly what i was hoping for. I hope something like this gets put into a tutorial because i guess many people would need to control exactly what their form looks like.
Cheers -Sam On Tue, Aug 4, 2009 at 11:00 PM, David De La Harpe Golden<david.delaharpe.gol...@ichec.ie> wrote: > > Sam Walters wrote: > >> Any help completing/explaining this would be greatly appreciated and >> open the floodgates towards understanding how to do this for all sorts >> of pythonic/django overloading scenarios. >> > > I had to do something similar a while back - > http://python.pastebin.com/f7a905977 > > Proved unexpectedly involved because also wanted to use it for model > fields with choices specified - the form field used if you supply > choices on modelfields is hardcoded in django. Was going to > raise a bug about it, but turns out it's bug #9245 ... > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---