Skip to content
Snippets Groups Projects
Commit 1db669e7 authored by jan.bednarik's avatar jan.bednarik
Browse files

Install and config graphene-django.

parent fc6779f6
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.staticfiles',
'graphene_django',
'openlobby.core',
]
......@@ -127,6 +128,10 @@ LOGGING = {
}
GRAPHENE = {
'SCHEMA': 'openlobby.core.schema.schema'
}
###############################################################################
# Custom settings
......
from django.urls import path
from django.urls import path, re_path
from graphene_django.views import GraphQLView
from openlobby.core.views import IndexView
urlpatterns = [
path('', IndexView.as_view(), name='index'),
re_path(r'^graphql', GraphQLView.as_view(graphiql=True)),
]
Django>=2,<2.1
graphene>=2.0,<3.0
graphene-django>=2.0,<3.0
flask>=0.12,<0.13
flask_graphQL>=1.4,<1.5
elasticsearch-dsl>=5.3.0,<6.0.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment