From 2c4aacfc08d271c99e1f776fb00456dd15cfb08d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 23 Oct 2021 19:00:45 +0200 Subject: [PATCH] Destroy Django 1.11 functions --- media/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/views.py b/media/views.py index 60358dd..08370c3 100644 --- a/media/views.py +++ b/media/views.py @@ -8,7 +8,7 @@ from django.contrib.auth.mixins import LoginRequiredMixin from django.http import HttpResponse from django_filters.rest_framework import DjangoFilterBackend from django.db import transaction -from django.shortcuts import redirect, render +from django.shortcuts import redirect from django.utils import timezone from django.utils.translation import gettext_lazy as _ from django.views.generic import TemplateView, DetailView