2023-06-06 12:27:41 +05:30
|
|
|
"""
|
|
|
|
|
apps.py
|
|
|
|
|
"""
|
2024-03-10 19:37:46 +05:30
|
|
|
|
2023-05-10 15:06:57 +05:30
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RecruitmentConfig(AppConfig):
|
2023-06-06 12:27:41 +05:30
|
|
|
"""
|
|
|
|
|
AppConfig for the 'recruitment' app.
|
|
|
|
|
|
|
|
|
|
This class represents the configuration for the 'recruitment' app. It provides
|
|
|
|
|
the necessary settings and metadata for the app.
|
|
|
|
|
|
|
|
|
|
Attributes:
|
|
|
|
|
default_auto_field (str): The default auto field to use for model field IDs.
|
|
|
|
|
name (str): The name of the app.
|
|
|
|
|
"""
|
2023-08-21 17:25:10 +05:30
|
|
|
|
|
|
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
|
|
|
name = "recruitment"
|
2024-08-05 14:22:44 +05:30
|
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
|
from django.urls import include, path
|
|
|
|
|
|
|
|
|
|
from horilla.urls import urlpatterns
|
|
|
|
|
|
|
|
|
|
urlpatterns.append(
|
|
|
|
|
path("recruitment/", include("recruitment.urls")),
|
|
|
|
|
)
|
|
|
|
|
super().ready()
|