summaryrefslogtreecommitdiff
path: root/django/forms/renderers.py
AgeCommit message (Collapse)Author
2020-09-22Made jinja2 import lazy in django.forms.Adam Johnson
Benchmarking shows that about 22% of the startup time for a simple django project was spent importing jinja2, which the project doesn't use. It's reasonable to make this import lazy. This will only affect projects where jinja2 is installed but not used, but given the prevalence of jinja2 that's likely to be many environments (e.g. if Ansible is installed, or the global Python install is used).
2019-11-07Refs #29983 -- Added support for using pathlib.Path in all settings.Jon Dufresne
2018-04-19Ref #23919 -- Replaced some os.path usage with pathlib.Path.Tom
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Stopped using django.utils.lru_cache().Aymeric Augustin
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.