Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unnecessary and problematic parent class from SuccessMessageMixin

refs #16319, thanks to bmispelon for the catch
  • Loading branch information...
commit b1bfd9630ef049070b0cd6ae215470d3d1facd40 1 parent 31d98d4
@ptone ptone authored
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.
"""
Please sign in to comment.
Something went wrong with that request. Please try again.