2025-05-19 16:51:04 +05:30
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ReportConfig(AppConfig):
|
2025-05-20 14:14:53 +05:30
|
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
|
|
|
name = "report"
|
2025-05-19 16:51:04 +05:30
|
|
|
|
|
|
|
|
def ready(self) -> None:
|
|
|
|
|
ready = super().ready()
|
|
|
|
|
from django.urls import include, path
|
2025-05-20 14:14:53 +05:30
|
|
|
|
2025-05-19 16:51:04 +05:30
|
|
|
from horilla.horilla_settings import APPS
|
2025-05-20 14:14:53 +05:30
|
|
|
from horilla.urls import urlpatterns
|
2025-05-19 16:51:04 +05:30
|
|
|
|
|
|
|
|
urlpatterns.append(
|
|
|
|
|
path("report/", include("report.urls")),
|
|
|
|
|
)
|
|
|
|
|
|
2025-05-20 14:14:53 +05:30
|
|
|
return ready
|