Re: Issue with saving existing model when using inlineformsets

2008-12-13 Thread maeck
Fixed it. See the code here: http://www.djangosnippets.org/snippets/1246/ --~--~-~--~~~---~--~~ 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

Re: Issue with saving existing model when using inlineformsets

2008-12-12 Thread maeck
additional info: The error happens in formset.save() --~--~-~--~~~---~--~~ 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 gr

Issue with saving existing model when using inlineformsets

2008-12-12 Thread maeck
All, I have an issue with using InlineFormSets. Save of a new model goes without any issue. However, I have a problem with saving an existing model. When I save I get a KeyError without much info. Other than it happened in "/usr/lib/python2.5/site-packages/django/ forms/models.py in save_existing