mirror of https://github.com/django/django.git
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
|
from django.contrib import messages
|
||||||
|
|
||||||
|
|
||||||
class SuccessMessageMixin(FormMixin):
|
class SuccessMessageMixin(object):
|
||||||
"""
|
"""
|
||||||
Adds a success message on successful form submission.
|
Adds a success message on successful form submission.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue