mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-11-04 09:57:53 +03:00 
			
		
		
		
	Correct examples/cookbook settings.py.
See https://github.com/graphql-python/graphene-django/issues/455.
This commit is contained in:
		
							parent
							
								
									96908beaf7
								
							
						
					
					
						commit
						2edf7f4ec0
					
				| 
						 | 
					@ -56,6 +56,7 @@ MIDDLEWARE = [
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GRAPHENE = {
 | 
					GRAPHENE = {
 | 
				
			||||||
    'SCHEMA': 'cookbook.schema.schema',
 | 
					    'SCHEMA': 'cookbook.schema.schema',
 | 
				
			||||||
 | 
					    'SCHEMA_INDENT': 2,
 | 
				
			||||||
    'MIDDLEWARE': (
 | 
					    'MIDDLEWARE': (
 | 
				
			||||||
        'graphene_django.debug.DjangoDebugMiddleware',
 | 
					        'graphene_django.debug.DjangoDebugMiddleware',
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
| 
						 | 
					@ -130,8 +131,3 @@ USE_TZ = True
 | 
				
			||||||
# https://docs.djangoproject.com/en/1.9/howto/static-files/
 | 
					# https://docs.djangoproject.com/en/1.9/howto/static-files/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
STATIC_URL = '/static/'
 | 
					STATIC_URL = '/static/'
 | 
				
			||||||
 | 
					 | 
				
			||||||
GRAPHENE = {
 | 
					 | 
				
			||||||
    'SCHEMA': 'cookbook.schema.schema',
 | 
					 | 
				
			||||||
    'SCHEMA_INDENT': 2,
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -57,6 +57,7 @@ MIDDLEWARE_CLASSES = [
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GRAPHENE = {
 | 
					GRAPHENE = {
 | 
				
			||||||
    'SCHEMA': 'cookbook.schema.schema',
 | 
					    'SCHEMA': 'cookbook.schema.schema',
 | 
				
			||||||
 | 
					    'SCHEMA_INDENT': 2,
 | 
				
			||||||
    'MIDDLEWARE': (
 | 
					    'MIDDLEWARE': (
 | 
				
			||||||
        'graphene_django.debug.DjangoDebugMiddleware',
 | 
					        'graphene_django.debug.DjangoDebugMiddleware',
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
| 
						 | 
					@ -131,8 +132,3 @@ USE_TZ = True
 | 
				
			||||||
# https://docs.djangoproject.com/en/1.9/howto/static-files/
 | 
					# https://docs.djangoproject.com/en/1.9/howto/static-files/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
STATIC_URL = '/static/'
 | 
					STATIC_URL = '/static/'
 | 
				
			||||||
 | 
					 | 
				
			||||||
GRAPHENE = {
 | 
					 | 
				
			||||||
    'SCHEMA': 'cookbook.schema.schema',
 | 
					 | 
				
			||||||
    'SCHEMA_INDENT': 2,
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user