Generic edit generic views don't create `fail_silently` success messages anymore.
|Reported by:||Simon Charette||Owned by:||Simon Charette|
|Severity:||Normal||Keywords:||views generic edit messages|
|Cc:||marc.tamlyn@…, hirokiky@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
It looks like the creation of success messages on valid form submission was oversight when the generic class based views were designed.
Here's a link to the django-developper discussion that motivated the creation of this ticket.
I'm also attaching a patch (with no tests and docs) that provide a simple yet overridable implementation that mimic the deprecated function based behaviour.
Change History (6)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → New feature|
comment:2 Changed 4 years ago by
|Version:||1.3 → master|