UpdateView
class YourView(UpdateView):
model = YourModel
fields = ['your_fields']
template_name = 'your_template.html'
success_url = reverse_lazy('home')
Virgin Programmer