Skip to content

Commit

Permalink
Remove unnecessary and problematic parent class from SuccessMessageMixin
Browse files Browse the repository at this point in the history
refs #16319, thanks to bmispelon for the catch
  • Loading branch information
ptone committed May 17, 2013
1 parent 31d98d4 commit b1bfd96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 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.
"""
Expand Down

0 comments on commit b1bfd96

Please sign in to comment.