add a "step_failure" method on WizardView
|Reported by:||mothsART||Owned by:||nobody|
|Severity:||Normal||Keywords:||validate wizardview log|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
A little patch for a method i like using : "step_failure".
Goal: If you want catch all "invalid post" in a wizard forms.
For me, is a good way to log and stats a wizard in production.
Log failure bring me some indications : if a field validation is too complex, if design of form isn't user friendly etc.
This diff is minimmalist and a first suggestion. I'm open too talk about...
(in fact, that will bring API heavier...)
To see it : got to my pull request : https://github.com/django/django/pull/734
Change History (3)
comment:1 Changed 2 years ago by carljm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed