Added the missing expanding parameters to CachedRetrieveModelMixin.
All checks were successful
StarFields Django Rest Framework Generics / build (push) Successful in 13s
All checks were successful
StarFields Django Rest Framework Generics / build (push) Successful in 13s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user