enable cachettl
This commit is contained in:
parent
7ba48b17d1
commit
adaed94ff7
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ CACHETTL = getattr(settings, 'CACHE_TTL', DEFAULT_TIMEOUT)
|
|||
# Create your views here.
|
||||
@api_view(['GET'])
|
||||
@permission_classes([IsAuthenticated])
|
||||
#@cache_page(CACHETTL)
|
||||
@cache_page(CACHETTL)
|
||||
def video_list(request):
|
||||
"""
|
||||
List all videos.
|
||||
|
|
|
|||
Loading…
Reference in a new issue