On Oct 1, 2:54 pm, Karen Tracey <[email protected]> wrote:
> On Thu, Oct 1, 2009 at 5:33 AM, dijxtra <[email protected]> wrote:
> > Traceback:
> > [snip]
>
> 234. value = field.widget.value_from_datadict(self.data,>
> self.files, self.add_prefix(name))
>
> > Exception Value: 'NoneType' object has no attribute 'widget'
>
> OK, looking a bit further, the form lists 'type' in fields but I do not see
> that field in the model?
Bingo! Damn, that was two obvious bugs in 5 lines of code. Thank you
very very much for this, I can't believe I didn't see that. Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---