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