Utils Flash_Confirmation
inyoka.utils.flash_confirmation
This module provides a function decorator to flash a confirmation form upon deletion or revert views.
- copyright:
- 2008-2025 by the Inyoka Team, see AUTHORS for more details. 
 
- license:
- BSD, see LICENSE for more details. 
- inyoka.utils.flash_confirmation.confirm_action(message=None, confirm=None, cancel=None)
- Decorator to render and handle “Are you sure?” flash messages. - Flashes a form to confirm an action via a POST request including CSRF protection using - django.views.decorators.csrf.csrf_protect()