strawberry-graphql 0.262.0__py3-none-any.whl → 0.262.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- strawberry/django/views.py +2 -2
- {strawberry_graphql-0.262.0.dist-info → strawberry_graphql-0.262.2.dist-info}/METADATA +2 -1
- {strawberry_graphql-0.262.0.dist-info → strawberry_graphql-0.262.2.dist-info}/RECORD +6 -6
- {strawberry_graphql-0.262.0.dist-info → strawberry_graphql-0.262.2.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.262.0.dist-info → strawberry_graphql-0.262.2.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.262.0.dist-info → strawberry_graphql-0.262.2.dist-info}/entry_points.txt +0 -0
strawberry/django/views.py
CHANGED
@@ -238,7 +238,7 @@ class GraphQLView(
|
|
238
238
|
|
239
239
|
def render_graphql_ide(self, request: HttpRequest) -> HttpResponse:
|
240
240
|
try:
|
241
|
-
content = render_to_string("graphql/graphiql.html")
|
241
|
+
content = render_to_string("graphql/graphiql.html", request=request)
|
242
242
|
except TemplateDoesNotExist:
|
243
243
|
content = self.graphql_ide_html
|
244
244
|
|
@@ -298,7 +298,7 @@ class AsyncGraphQLView(
|
|
298
298
|
|
299
299
|
async def render_graphql_ide(self, request: HttpRequest) -> HttpResponse:
|
300
300
|
try:
|
301
|
-
content = render_to_string("graphql/graphiql.html")
|
301
|
+
content = render_to_string("graphql/graphiql.html", request=request)
|
302
302
|
except TemplateDoesNotExist:
|
303
303
|
content = self.graphql_ide_html
|
304
304
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: strawberry-graphql
|
3
|
-
Version: 0.262.
|
3
|
+
Version: 0.262.2
|
4
4
|
Summary: A library for creating GraphQL APIs
|
5
5
|
License: MIT
|
6
6
|
Keywords: graphql,api,rest,starlette,async
|
@@ -46,6 +46,7 @@ Requires-Dist: libcst (>=0.4.7) ; extra == "debug" or extra == "debug-server" or
|
|
46
46
|
Requires-Dist: litestar (>=2) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "litestar")
|
47
47
|
Requires-Dist: opentelemetry-api (<2) ; extra == "opentelemetry"
|
48
48
|
Requires-Dist: opentelemetry-sdk (<2) ; extra == "opentelemetry"
|
49
|
+
Requires-Dist: packaging (>=24)
|
49
50
|
Requires-Dist: pydantic (>1.6.1) ; extra == "pydantic"
|
50
51
|
Requires-Dist: pygments (>=2.3,<3.0) ; extra == "debug-server" or extra == "cli"
|
51
52
|
Requires-Dist: pyinstrument (>=4.0.0) ; extra == "pyinstrument"
|
@@ -49,7 +49,7 @@ strawberry/django/apps.py,sha256=ZWw3Mzv1Cgy0T9xT8Jr2_dkCTZjT5WQABb34iqnu5pc,135
|
|
49
49
|
strawberry/django/context.py,sha256=XL85jDGAVnb2pwgm5uRUvIXwlGia3i-8ZVfKihf0T24,655
|
50
50
|
strawberry/django/test/__init__.py,sha256=4xxdUZtIISSOwjrcnmox7AvT4WWjowCm5bUuPdQneMg,71
|
51
51
|
strawberry/django/test/client.py,sha256=5sAZhCyNiydnQtauI_7H_TRnPfHV3V5d-FKxxDxvTAs,620
|
52
|
-
strawberry/django/views.py,sha256=
|
52
|
+
strawberry/django/views.py,sha256=p_YEeotjbM2WgmBeSfzRF3xVnIdfp1e9Kyu-WKswrek,9682
|
53
53
|
strawberry/exceptions/__init__.py,sha256=3bo6LehH3CnO3BGol073FhI6eRmV2Mf6OBjf28v6gwY,6515
|
54
54
|
strawberry/exceptions/conflicting_arguments.py,sha256=FJ5ZlZ_C9O7XS0H9hB0KGRRix0mcB4P6WwIccTJeh-g,1581
|
55
55
|
strawberry/exceptions/duplicated_type_name.py,sha256=Yc8UKO_pTtuXZmkEWp1onBdQitkMSMrfvWfeauLQ-ZI,2204
|
@@ -228,8 +228,8 @@ strawberry/utils/logging.py,sha256=U1cseHGquN09YFhFmRkiphfASKCyK0HUZREImPgVb0c,7
|
|
228
228
|
strawberry/utils/operation.py,sha256=SSXxN-vMqdHO6W2OZtip-1z7y4_A-eTVFdhDvhKeLCk,1193
|
229
229
|
strawberry/utils/str_converters.py,sha256=-eH1Cl16IO_wrBlsGM-km4IY0IKsjhjnSNGRGOwQjVM,897
|
230
230
|
strawberry/utils/typing.py,sha256=Ux0Hl46lhuXvOKK-C5hj6nlz3zDn8P4CUGH2nUVD2vU,13373
|
231
|
-
strawberry_graphql-0.262.
|
232
|
-
strawberry_graphql-0.262.
|
233
|
-
strawberry_graphql-0.262.
|
234
|
-
strawberry_graphql-0.262.
|
235
|
-
strawberry_graphql-0.262.
|
231
|
+
strawberry_graphql-0.262.2.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
232
|
+
strawberry_graphql-0.262.2.dist-info/METADATA,sha256=Pm7gGIH3ugS62ywuMDqU3ct42PgD80fzdOiNU5WrlhA,7679
|
233
|
+
strawberry_graphql-0.262.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
234
|
+
strawberry_graphql-0.262.2.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
235
|
+
strawberry_graphql-0.262.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.262.0.dist-info → strawberry_graphql-0.262.2.dist-info}/entry_points.txt
RENAMED
File without changes
|