From 2f60c94b92e38897a1cedb47eaffab0d789d08f4 Mon Sep 17 00:00:00 2001 From: a19hu Date: Thu, 10 Oct 2024 22:54:38 +0530 Subject: [PATCH] modified server --- server/backend/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/backend/urls.py b/server/backend/urls.py index 70ade8f1..272d12ee 100644 --- a/server/backend/urls.py +++ b/server/backend/urls.py @@ -6,9 +6,9 @@ from django.conf.urls.static import static urlpatterns = [ - path('admin/', admin.site.urls), - path("graphql/", csrf_exempt(GraphQLView.as_view(graphiql=True))), - path("", include("api.urls")), + path('ftadmin/admin/', admin.site.urls), + path("ftadmin/graphql/", csrf_exempt(GraphQLView.as_view(graphiql=True))), + path("ftadmin/", include("api.urls")), ] urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)