From 0da8164600c12a92222824e7930045a760f46cd9 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Mon, 15 Apr 2024 10:29:29 -0700 Subject: [PATCH] 15684 strawberry filter (#15686) * 15579 update requirements * 15684 add USE_DEPRECATED_FILTERS to strawberry --- netbox/netbox/settings.py | 1 + requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index 18feee262..32daa137c 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -725,6 +725,7 @@ if not ENABLE_LOCALIZATION: # STRAWBERRY_DJANGO = { "TYPE_DESCRIPTION_FROM_MODEL_DOCSTRING": True, + "USE_DEPRECATED_FILTERS": True, } # diff --git a/requirements.txt b/requirements.txt index fed2d8f13..033ed862a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,8 +29,8 @@ PyYAML==6.0.1 requests==2.31.0 social-auth-app-django==5.4.0 social-auth-core[openidconnect]==4.5.3 -strawberry-graphql==0.222.0 -strawberry-graphql-django==0.34.0 +strawberry-graphql==0.224.1 +strawberry-graphql-django==0.37.0 svgwrite==1.4.3 tablib==3.6.0 tzdata==2024.1