After having upgraded from Django 3 to 4 the save_model() method isn't 
running, though the form it imports does.

```
class MyCoolMapAdmin(SuperUserChangeOnlyMixIn, FilterByOwnerAdmin):
    form = MyCoolModelForm
    print("this prints on app initialization")
    
    def save_model(self, request, obj, form, change):
        print("this never runs")

class MyCoolModelForm(forms.ModelForm):

    def clean(self):
        print("this does run")
```

The `save_model` method doesn't seem to run for new or updated form 
submission from the "MyCool" admin page.

Thank you. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2051c3c8-d6ca-4d99-a5fe-d1b9f0897b08n%40googlegroups.com.

Reply via email to