Override save method of Django Admin
You can overwrite save_model
of ModelAdmin
.
class MyAdminView(admin.ModelAdmin):
def save_model(self, request, obj, form, change):
super().save_model(request, obj, form, change)
You can overwrite save_model
of ModelAdmin
.
class MyAdminView(admin.ModelAdmin):
def save_model(self, request, obj, form, change):
super().save_model(request, obj, form, change)