mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +00:00
Remove unnecessary and problematic parent class from SuccessMessageMixin
refs #16319, thanks to bmispelon for the catch
This commit is contained in:
parent
31d98d4ab5
commit
b1bfd9630e
@ -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.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user