Skip to content
Snippets Groups Projects

Resolve "Make GraphQL/Graphene mutations actually return error messages"

Files
3
+ 5
2
@@ -11,7 +11,6 @@ from django.views.i18n import JavaScriptCatalog
import calendarweek.django
from ckeditor_uploader import views as ckeditor_uploader_views
from graphene_django.views import GraphQLView
from health_check.urls import urlpatterns as health_urls
from maintenance_mode.decorators import force_maintenance_mode_off
from oauth2_provider.views import ConnectDiscoveryInfoView
@@ -26,7 +25,11 @@ urlpatterns = [
path("sw.js", views.ServiceWorkerView.as_view(), name="service_worker"),
path(settings.MEDIA_URL.removeprefix("/"), include("titofisto.urls")),
path("__icons__/", include("dj_iconify.urls")),
path("graphql/", csrf_exempt(GraphQLView.as_view(graphiql=True)), name="graphql"),
path(
"graphql/",
csrf_exempt(views.LoggingGraphQLView.as_view(graphiql=True)),
name="graphql",
),
path("logo", force_maintenance_mode_off(views.LogoView.as_view()), name="logo"),
path(
".well-known/openid-configuration/",
Loading