Add GraphQL urls
This commit is contained in:
parent
dc59b41455
commit
cb7b00ff40
|
|
@ -6,6 +6,7 @@ from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
|||
from django.urls import include, path, re_path
|
||||
from django.views import defaults as default_views
|
||||
from ratelimit.exceptions import Ratelimited
|
||||
from grapple import urls as grapple_urls
|
||||
|
||||
from vbv_lernwelt.core.middleware.auth import django_view_authentication_exempt
|
||||
from vbv_lernwelt.core.views import (
|
||||
|
|
@ -73,6 +74,7 @@ urlpatterns = [
|
|||
user_passes_test(lambda u: u.is_superuser, login_url='/login/')(
|
||||
raise_example_error), ),
|
||||
path("server/checkratelimit/", check_rate_limit),
|
||||
path("server/", include(grapple_urls)),
|
||||
]
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue