2024-04-17 21:56:01 +05:30
|
|
|
"""
|
|
|
|
|
horilla_context_process.py
|
|
|
|
|
|
|
|
|
|
This module is used to register context processors without effecting the horilla/settings.py module
|
|
|
|
|
"""
|
2024-05-07 12:23:36 +05:30
|
|
|
|
2024-04-17 21:56:01 +05:30
|
|
|
from horilla.settings import TEMPLATES
|
|
|
|
|
|
2024-05-09 14:28:24 +05:30
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"horilla.config.get_MENUS",
|
|
|
|
|
)
|
2024-04-17 21:56:01 +05:30
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.get_companies",
|
|
|
|
|
)
|
2024-05-23 14:29:29 +05:30
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.white_labelling_company",
|
|
|
|
|
)
|
2024-04-17 21:56:01 +05:30
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.resignation_request_enabled",
|
|
|
|
|
)
|
|
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.timerunner_enabled",
|
|
|
|
|
)
|
|
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.intial_notice_period",
|
|
|
|
|
)
|
|
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.check_candidate_self_tracking",
|
|
|
|
|
)
|
|
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.check_candidate_self_tracking_rating",
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.get_initial_prefix",
|
|
|
|
|
)
|
|
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.biometric_app_exists",
|
|
|
|
|
)
|
2024-07-22 10:55:53 +05:30
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.enable_late_come_early_out_tracking",
|
|
|
|
|
)
|
2025-01-14 12:12:06 +05:30
|
|
|
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
|
|
|
|
|
"base.context_processors.enable_profile_edit",
|
|
|
|
|
)
|