From 2acc76ea1ac705a9d212ac4d30bfdff6b335a7d6 Mon Sep 17 00:00:00 2001 From: doha mahmood <103668918+dohamahmood@users.noreply.github.com> Date: Fri, 22 Jul 2022 20:49:12 +0300 Subject: [PATCH] Update urls.py --- config/urls.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) ]