diff --git a/django/contrib/messages/views.py b/django/contrib/messages/views.py index d08804aa1d0..3c2ca355ba4 100644 --- a/django/contrib/messages/views.py +++ b/django/contrib/messages/views.py @@ -1,8 +1,7 @@ -from django.views.generic.edit import FormMixin from django.contrib import messages -class SuccessMessageMixin(FormMixin): +class SuccessMessageMixin(object): """ Adds a success message on successful form submission. """