Re: Django Class-Based CreateView and UpdateView with multiple inline formsets

2015-01-10 Thread Edgar Gabaldi
ou should set the object to the > master record being updated rather than to none for both get() and post(). > > > On Saturday, January 10, 2015 at 8:08:47 AM UTC-5, Ranjith Kumar wrote: >> >> Hello all, >> I have been trying to do Django class-based CreateView and Upda

Re: Django Class-Based CreateView and UpdateView with multiple inline formsets

2015-01-10 Thread Dan Gentry
I would suggest that in the UpdateView you should set the object to the master record being updated rather than to none for both get() and post(). On Saturday, January 10, 2015 at 8:08:47 AM UTC-5, Ranjith Kumar wrote: > > Hello all, > I have been trying to do Django class-based C

Django Class-Based CreateView and UpdateView with multiple inline formsets

2015-01-10 Thread Ranjith Kumar
Hello all, I have been trying to do Django class-based CreateView and UpdateView with multiple inline formsets CreateView works fine but UpdateView is not working properly, If anyone tried UpdateView with multiple inline formsets, please point me right approach. *models.py* from django.db import