Use same options for create and update views

Hello,
In my project, I have quite complicated create and update views (which override many of django view methods).
However, the change I make in those Create- and Update- View are quite similar.
How can I avoid repeating the code in each subclass ?
Thanks,

Depending upon the specific circumstances, you could create a Mixin class that is applied to each of those View classes. (Think of the LoginRequiredMixin and PermissionRequiredMixin as examples of this type of functionality.)

Thanks for the help !