Upload files to "biometric"

Signed-off-by: nestict <developer@nestict.com>
This commit is contained in:
2026-01-16 15:08:17 +01:00
parent c5f25858ba
commit 1e6b53be4d
15 changed files with 5246 additions and 0 deletions

12
biometric/settings.py Normal file
View File

@@ -0,0 +1,12 @@
"""
This module extends the Django settings related to templates to include a
custom context processor for biometric functionality.
It imports the `TEMPLATES` setting from `horilla.settings` and appends a
custom context processor path to it.
"""
from horilla.settings import TEMPLATES
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
"biometric.context_processors.biometric_is_installed",
)