will be possible to display a confirmation hearing to modify a record in a table, as is done when you delete a record?
as to modify a record and press the button save this did not request any confirmation or performs the action.
find out what would have to occupy the pre_save() but I could not make the confirmation hearing
https://docs.djangoproject.com/en/dev/ref/signals/#pre-save
thank you for your help.
Best How To :
In the formtools
contrib package you'll find form-preview
, which is a class that lets you load a form, preview it, and then provides hooks to do whatever you would like with the cleaned form data.
It takes care of the following flow:
- Load a form.
- Let people fill it in.
- Show a preview page, where you can edit the form.
- Confirm button, which you can hook into to do whatever needs to be done with the form.
This would solve your confirmation problem.