DEV Community

Discussion on: Django inline formsets with Class-based views and crispy forms

zxenia profile image
Xenia Author • Edited

Hi Sachin,

To implement it without crispy forms check out this blog, the solution is not using crispy forms. The UpdateView is essentially the same as CreateView except you need to pass instance (instance=self.object) in get_context_data() because the instance already exists in the database (the code part for this is here ). Hope it helps!