2025-04-28 17:37:41 +05:30
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class FacedetectionConfig(AppConfig):
|
2025-05-08 16:43:50 +05:30
|
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
|
|
|
name = "facedetection"
|
2025-05-06 21:37:59 +05:30
|
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
|
from django.urls import include, path
|
2025-05-08 16:43:50 +05:30
|
|
|
|
2025-05-06 21:37:59 +05:30
|
|
|
from horilla.urls import urlpatterns
|
|
|
|
|
|
|
|
|
|
urlpatterns.append(
|
|
|
|
|
path("api/facedetection/", include("facedetection.urls")),
|
|
|
|
|
)
|
2025-05-08 16:43:50 +05:30
|
|
|
super().ready()
|