Permalink
Browse files

Remove unnecessary and problematic parent class from SuccessMessageMixin

refs #16319, thanks to bmispelon for the catch
  • Loading branch information...
1 parent 31d98d4 commit b1bfd9630ef049070b0cd6ae215470d3d1facd40 @ptone ptone committed May 17, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 django/contrib/messages/views.py
View
3 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.
"""

0 comments on commit b1bfd96

Please sign in to comment.