From 6539a63f4f90fd2f876f6d971deb23fe7bc7e6f2 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Tue, 9 Sep 2025 14:21:04 +0300 Subject: [PATCH] Features: 1) Add `slug` field to Brand GraphQL object type; Fixes: 1) None; Extra: 1) None; --- core/graphene/object_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/graphene/object_types.py b/core/graphene/object_types.py index da120db3..9bfedf9a 100644 --- a/core/graphene/object_types.py +++ b/core/graphene/object_types.py @@ -119,7 +119,7 @@ class BrandType(DjangoObjectType): class Meta: model = Brand interfaces = (relay.Node,) - fields = ("uuid", "categories", "name", "description", "big_logo", "small_logo") + fields = ("uuid", "categories", "name", "description", "big_logo", "small_logo", "slug") filter_fields = ["uuid", "name"] description = _("brands")