Files
ihrm/horilla/horilla_context_processors.py

46 lines
1.5 KiB
Python
Raw Normal View History

"""
horilla_context_process.py
This module is used to register context processors without effecting the horilla/settings.py module
"""
from horilla.settings import TEMPLATES
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
"horilla.config.get_MENUS",
)
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",
)
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",
)
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
"base.context_processors.enable_late_come_early_out_tracking",
)
TEMPLATES[0]["OPTIONS"]["context_processors"].append(
"base.context_processors.enable_profile_edit",
)