diff --git a/main/urls.py b/main/urls.py index ba62f9d..d4124b3 100644 --- a/main/urls.py +++ b/main/urls.py @@ -21,11 +21,10 @@ from django.urls import path from django.views.decorators.csrf import csrf_exempt +from content.views import UserQuery from main.graphql.schema import CustomAsyncGraphQLView from main.graphql.schema import schema as graphql_schema -from content.views import UserQuery - urlpatterns = [path("admin/", admin.site.urls), path("chat_message", UserQuery.as_view())] if settings.DEBUG: urlpatterns.append(path("graphiql/", csrf_exempt(CustomAsyncGraphQLView.as_view(schema=graphql_schema))))