From b1bfd9630ef049070b0cd6ae215470d3d1facd40 Mon Sep 17 00:00:00 2001 From: Preston Holmes Date: Fri, 17 May 2013 08:59:06 -0700 Subject: [PATCH] Remove unnecessary and problematic parent class from SuccessMessageMixin refs #16319, thanks to bmispelon for the catch --- django/contrib/messages/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/contrib/messages/views.py b/django/contrib/messages/views.py index d08804aa1d..3c2ca355ba 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. """