mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-10-31 16:07:36 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			272 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			272 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls import url
 | |
| 
 | |
| from ..views import GraphQLView
 | |
| from .schema_view import schema
 | |
| 
 | |
| 
 | |
| class CustomGraphQLView(GraphQLView):
 | |
|     schema = schema
 | |
|     graphiql = True
 | |
|     pretty = True
 | |
| 
 | |
| 
 | |
| urlpatterns = [url(r"^graphql/inherited/$", CustomGraphQLView.as_view())]
 |