[UPDT] HORILLA API: Add horilla_api urls to the project using the generic method

This commit is contained in:
Horilla
2025-01-30 16:35:46 +05:30
parent dc6d31364f
commit af3fbcbaf8

View File

@@ -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()