On Nov 13, 2:18 pm, ses1984 <ses1...@gmail.com> wrote: > In short, I have been having a hard time getting a ModelFormSet to > save. The formset is created from a queryset, and it's only intended > to edit one field of existing objects. > > After a long string of mistakes and fixes, I'm finally stumped. The > following bit of code produces a TypeError exception about converting > a float to a decimal, but in my forms I'm not editing float or decimal > fields...only one CharField:
<snip> Can't be bothered to read all that code, sorry, but rather than catching the exception and printing only the message why don't you just let it bubble up and then post the traceback, which is bound to be more useful. -- DR. -- 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=.