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
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 CreateView and
Use the django-extra-views[1]. You can easily manage multiple inline
formsets with CreateViews and UpdateViews.
[1] https://github.com/AndrewIngram/django-extra-views
On Sat, Jan 10, 2015 at 11:23 AM, Dan Gentry wrote:
> I would suggest that in the UpdateView you should set the object to the
>
3 matches
Mail list logo