2👍
✅
FormView is not the appropriate base class here: it doesn’t know about model forms and doesn’t define a get_object
method. Use UpdateView
instead.
Source:stackexchange.com