From dad7aa8348a5899a0485d4bb7945becf876d5a55 Mon Sep 17 00:00:00 2001 From: Pelagic Date: Sat, 17 Aug 2024 16:12:48 +0300 Subject: [PATCH] Added the missing expanding parameters to CachedRetrieveModelMixin. --- starfields_drf_generics/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starfields_drf_generics/mixins.py b/starfields_drf_generics/mixins.py index feba16c..1ca222f 100644 --- a/starfields_drf_generics/mixins.py +++ b/starfields_drf_generics/mixins.py @@ -41,7 +41,7 @@ class CachedRetrieveModelMixin(CacheGetMixin, CacheSetMixin): to inherit anything from it. """ - def retrieve(self, request): + def retrieve(self, request, *args, **kwargs): " Retrieves the entry in the request " # Attempt to get the request from the cache cache_attempt = self.get_cache(request)