{# Restore one deleted record: a POST with CSRF. up-confirm asks in a dialog; without JavaScript the route answers with the "Are you sure?" page. #} {# nosemgrep: django-no-csrf-token — Flask app; CSRF is handled by {{ csrf_field() }} below. #}