How to create and use Update view using an Example in django
Example: django updateview
class YourView(generic.UpdateView):
model = YourModel
fields = ['your_fields']
template_name = 'your_template.html'
success_url = reverselazy('home')