mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-11-01 00:17:38 +03:00 
			
		
		
		
	Merge pull request #356 from jkimbo/upgrade-graphiql
Upgrade graphiql and react versions
This commit is contained in:
		
						commit
						5b17e98217
					
				|  | @ -16,11 +16,11 @@ add "&raw" to the end of the URL within a browser. | ||||||
|       width: 100%; |       width: 100%; | ||||||
|     } |     } | ||||||
|   </style> |   </style> | ||||||
|   <link href="//cdn.jsdelivr.net/graphiql/{{graphiql_version}}/graphiql.css" rel="stylesheet" /> |   <link href="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.css" rel="stylesheet" /> | ||||||
|   <script src="//cdn.jsdelivr.net/fetch/0.9.0/fetch.min.js"></script> |   <script src="//cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js"></script> | ||||||
|   <script src="//cdn.jsdelivr.net/react/15.0.1/react.min.js"></script> |   <script src="//cdn.jsdelivr.net/npm/react@16.2.0/umd/react.production.min.js"></script> | ||||||
|   <script src="//cdn.jsdelivr.net/react/15.0.1/react-dom.min.js"></script> |   <script src="//cdn.jsdelivr.net/npm/react-dom@16.2.0/umd/react-dom.production.min.js"></script> | ||||||
|   <script src="//cdn.jsdelivr.net/graphiql/{{graphiql_version}}/graphiql.min.js"></script> |   <script src="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.min.js"></script> | ||||||
| </head> | </head> | ||||||
| <body> | <body> | ||||||
|   <script> |   <script> | ||||||
|  |  | ||||||
|  | @ -53,7 +53,7 @@ def instantiate_middleware(middlewares): | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class GraphQLView(View): | class GraphQLView(View): | ||||||
|     graphiql_version = '0.10.2' |     graphiql_version = '0.11.10' | ||||||
|     graphiql_template = 'graphene/graphiql.html' |     graphiql_template = 'graphene/graphiql.html' | ||||||
| 
 | 
 | ||||||
|     schema = None |     schema = None | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user