kopia lustrzana https://github.com/wagtail/wagtail
Replace use of django.utils.lru_cache with functools.lru_cache
rodzic
4336ada482
commit
38e03c8fd1
|
@ -1,7 +1,8 @@
|
|||
from functools import lru_cache
|
||||
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.http import Http404
|
||||
from django.shortcuts import get_object_or_404, redirect, render
|
||||
from django.utils.lru_cache import lru_cache
|
||||
from django.utils.text import capfirst
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from functools import lru_cache
|
||||
import os
|
||||
|
||||
from django.core.checks import Warning, register
|
||||
from django.utils.lru_cache import lru_cache
|
||||
from willow.image import Image
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue