mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #32355 -- Used @functools.lru_cache as a straight decorator.
This commit is contained in:
@@ -8,7 +8,7 @@ from django.utils.functional import cached_property
|
||||
from django.utils.module_loading import import_string
|
||||
|
||||
|
||||
@functools.lru_cache()
|
||||
@functools.lru_cache
|
||||
def get_default_renderer():
|
||||
renderer_class = import_string(settings.FORM_RENDERER)
|
||||
return renderer_class()
|
||||
|
||||
Reference in New Issue
Block a user