Coverage for formkit_ninja / form_submission / signals.py: 100.00%
4 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-03-06 04:12 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-03-06 04:12 +0000
1"""
2Custom Django signals for form_submission app.
4These signals allow other apps to react to form submission events
5without requiring direct imports from form_submission.
6"""
8from django.dispatch import Signal
10# Signal emitted when a Submission is created or updated
11# Provides: instance, created
12submission_received = Signal()
15# Signal emitted after a SeparatedSubmission is successfully imported to a model
16# Provides: instance, model_instance, was_created
17import_success = Signal()
19# Signal emitted when a SeparatedSubmission import fails
20# Provides: instance, error
21import_error = Signal()