1👍
✅
You should use an UpdateView, not a FormView. That will take care of prepopulating your form.
Also note you don’t need any of the logic in the post
method – that is all taken care of by the generic view class.
Source:stackexchange.com