On Fri, 2007-06-01 at 13:40 +0000, olive wrote: > Hi, > > This returns True: > f = myform(data) > f.is_valid() > > while this returns False: > f = myform() > f.data = data > f.is_valid() > > Is it a bug ?
Nope. It just means I gave you some bad advice before. You also need to set the bound_data attribute on the form when you assign to data. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---