mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 09:28:38 -06:00
add redis to travis builds
This commit is contained in:
parent
c11abbe8ca
commit
cdff29c7d5
@ -1,6 +1,7 @@
|
|||||||
sudo: required
|
sudo: required
|
||||||
services:
|
services:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
- redis-server
|
||||||
addons:
|
addons:
|
||||||
postgresql: "9.4"
|
postgresql: "9.4"
|
||||||
language: python
|
language: python
|
||||||
|
@ -250,7 +250,6 @@ class ModelViewSet(_ModelViewSet):
|
|||||||
# Fall back to the hard-coded serializer class
|
# Fall back to the hard-coded serializer class
|
||||||
return self.serializer_class
|
return self.serializer_class
|
||||||
|
|
||||||
|
|
||||||
@method_decorator(cache_page(settings.CACHE_TIMEOUT))
|
@method_decorator(cache_page(settings.CACHE_TIMEOUT))
|
||||||
def list(self, *args, **kwargs):
|
def list(self, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user