diff --git a/config/urls.py b/config/urls.py index d52e5777..9940d524 100644 --- a/config/urls.py +++ b/config/urls.py @@ -15,7 +15,10 @@ """ from django.contrib import admin from django.urls import path - +from ninja import NinjaAPI +from headless.controllers import controler +api=NinjaAPI() urlpatterns = [ path('admin/', admin.site.urls), + path("api/", api.urls) ]