diff --git a/horilla_api/apps.py b/horilla_api/apps.py index c9484e0c4..a6cd8351a 100644 --- a/horilla_api/apps.py +++ b/horilla_api/apps.py @@ -4,3 +4,13 @@ from django.apps import AppConfig class HorillaApiConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = "horilla_api" + + def ready(self): + from django.urls import include, path + + from horilla.urls import urlpatterns + + urlpatterns.append( + path("api/", include("horilla_api.urls")), + ) + super().ready()