django/django
Adam Johnson 37d9ea5d5c Optimized @async_unsafe.
Switched the order of the checks to reduce the overhead. Async unsafe methods
are *normally* called syncrhonously, so we can avoid the overhead of checking
the environment variable in the regular path.
2021-09-30 12:16:00 +02:00
..
apps Refs #31180 -- Removed default_app_config application configuration variable per deprecation timeline. 2021-09-20 21:23:01 +02:00
conf Updated source translation catalogs. 2021-09-21 13:40:07 +02:00
contrib Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value. 2021-09-29 12:58:01 +02:00
core Refs #32355 -- Modernized subprocess.run() calls. 2021-09-27 08:20:24 +02:00
db Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to create a shallow copy of children." 2021-09-30 11:26:17 +02:00
dispatch Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert" in various code. 2021-06-25 06:55:47 +02:00
forms Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable. 2021-09-30 12:07:50 +02:00
http Optimized handling case-insensitive mappings. 2021-09-22 09:26:21 +02:00
middleware Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern. 2021-09-01 14:02:37 +02:00
template Used Path.read_text() in jinja2.get_exception_info(). 2021-09-27 09:55:02 +02:00
templatetags Fixed #32365 -- Made zoneinfo the default timezone implementation. 2021-09-16 12:11:05 +02:00
test Fixed #33132 -- Fixed test client handling of querystring only redirects. 2021-09-24 08:22:28 +02:00
urls Fixed #23895 -- Prevented pickling of ResolverMatch. 2021-07-29 07:04:56 +02:00
utils Optimized @async_unsafe. 2021-09-30 12:16:00 +02:00
views Refs #32355 -- Used @functools.lru_cache as a straight decorator. 2021-09-27 09:10:58 +02:00
__init__.py Bumped version; main is now 4.1 pre-alpha. 2021-09-20 21:23:01 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Made small readability improvements. 2020-10-28 20:20:20 +01:00