Generic edit generic views don't create `fail_silently` success messages anymore.
|Reported by:||charettes||Owned by:||charettes|
|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)
Changed 4 years ago by charettes
comment:1 Changed 4 years ago by aaugustin
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
- Type changed from Uncategorized to New feature
comment:2 Changed 3 years ago by mjtamlyn
- Cc marc.tamlyn@… added
- Needs documentation set
- Needs tests set
- Version changed from 1.3 to master