From cdff29c7d502d1ecb734dccc288e80b88467203e Mon Sep 17 00:00:00 2001 From: John Anderson Date: Mon, 15 Apr 2019 04:16:22 -0400 Subject: [PATCH] add redis to travis builds --- .travis.yml | 1 + netbox/utilities/api.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 13c6d406b..29fa87b64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ sudo: required services: - postgresql + - redis-server addons: postgresql: "9.4" language: python diff --git a/netbox/utilities/api.py b/netbox/utilities/api.py index d259343ae..40f14eb1f 100644 --- a/netbox/utilities/api.py +++ b/netbox/utilities/api.py @@ -250,7 +250,6 @@ class ModelViewSet(_ModelViewSet): # Fall back to the hard-coded serializer class return self.serializer_class - @method_decorator(cache_page(settings.CACHE_TIMEOUT)) def list(self, *args, **kwargs): """