Mariusz Felisiak
a3bb80dc31
[3.1.x] Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on models with Meta.ordering.
...
Regression in 0ddb4ebf7b
.
Thanks Julien Dutriaux for the report.
Backport of e11d05e0b4
from master
2020-09-14 20:08:18 +02:00
Brian Helba
c69c6886de
[3.1.x] Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage.
...
Backport of 2d42e23b6d
from master
2020-09-02 11:07:43 +02:00
Carlton Gibson
a503f5ebdd
[3.1.x] Post-release version bump.
2020-09-01 10:17:06 +02:00
Carlton Gibson
f33c2528f4
[3.1.x] Bumped version for 3.1.1 release.
2020-09-01 10:06:10 +02:00
Mariusz Felisiak
2b099caa59
[3.1.x] Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+.
...
Backport of f56b57976133129b0b351a38bba4ac882badabf0 from master.
2020-09-01 09:35:05 +02:00
Mariusz Felisiak
934430d22a
[3.1.x] Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level static and storage directories on Python 3.7+.
...
Thanks WhiteSage for the report.
Backport of ea0febbba531a3ecc8c77b570efbfb68ca7155db from master.
2020-09-01 09:35:05 +02:00
007gzs
dfa31f8e87
[3.1.x] Fixed #31901 -- Prevented content overflowing in the admin changelist with navigation sidebar.
...
Backport of 2bc38bc7ca
from master
2020-09-01 08:19:12 +02:00
Federico Jaramillo Martínez
c4e5384e73
[3.1.x] Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships.
...
Thanks dacotagh for the report.
Backport of 179d9dc0c2
from master
2020-08-31 10:40:21 +02:00
Simon Charette
2986ec031d
[3.1.x] Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.
...
The optimization introduced in 7acef095d7
did not properly handle
deletion involving filters against aggregate annotations.
It initially was surfaced by a MariaDB test failure but misattributed
to an undocumented change in behavior that resulted in the systemic
generation of poorly performing database queries in 5b83bae031
.
Thanks Anton Plotkin for the report.
Refs #23576 .
Backport of f6405c0b8e
from master
2020-08-31 09:22:59 +02:00
Mariusz Felisiak
655e1ce6b1
[3.1.x] Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.
...
Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
Backport of 0be51d2226
from master
2020-08-28 19:12:02 +02:00
Kevin Michel
3a42c0447b
[3.1.x] Fixed #31928 -- Fixed detecting an async get_response in various middlewares.
...
SecurityMiddleware and the three cache middlewares were not calling
super().__init__() during their initialization or calling the required
MiddlewareMixin._async_check() method.
This made the middlewares not properly present as coroutine and
confused the middleware chain when used in a fully async context.
Thanks Kordian Kowalski for the report.
Backport of 825ce75fae
from master
2020-08-28 12:35:53 +02:00
Mariusz Felisiak
14a19700d8
[3.1.x] Fixed #31912 -- Removed strict=True in Path.resolve() in project template and CommonPasswordValidator.
...
This caused permission errors when user didn't have permissions to
all intermediate directories in a Django installation path.
Thanks tytusd and leonyxz for reports.
Regression in edeec1247e
and
26554cf5d1
.
Backport of e39e727ded
from master
2020-08-28 05:59:11 +02:00
Mariusz Felisiak
9075d1f662
[3.1.x] Fixed #31936 -- Fixed __in lookup on key transforms for JSONField.
...
This resolves an issue on databases without a native JSONField
(MariaDB, MySQL, SQLite, Oracle), where values must be wrapped.
Thanks Sébastien Pattyn for the report.
Backport of 1251772cb8
from master
2020-08-26 22:14:46 +02:00
Michael Galler
b6d2419120
[3.1.x] Fixed #31905 -- Made MiddlewareMixin call process_request()/process_response() with thread sensitive.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 547a07fa7e
from master
2020-08-26 07:54:55 +02:00
Mariusz Felisiak
e81aa7a94a
[3.1.x] Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context."
...
This reverts commit 4ed534758c
.
Backport of bb8f66934d
from master
2020-08-24 11:39:05 +02:00
Mariusz Felisiak
f247c66bb5
[3.1.x] Refs #31877 -- Reverted "Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning."
...
This reverts commit 20799cc0a6
.
Backport of 04e87e79a0
from master
2020-08-24 11:38:57 +02:00
Mariusz Felisiak
7eaa2776e1
[3.1.x] Fixed #31895 -- Fixed crash when decoding invalid session data.
...
Thanks Matt Hegarty for the report.
Regression in d4fff711d4
.
Backport of 4376c2c7f8
from master
2020-08-19 12:06:55 +02:00
Gert Burger
85c47b9a73
[3.1.x] Fixed #31863 -- Prevented mutating model state by copies of model instances.
...
Regression in bfb746f983
.
Backport of 94ea79be13
from master
2020-08-13 15:27:18 +02:00
Adam Johnson
9ae40d8137
[3.1.x] Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning.
...
SimpleLazyObjects cause a crash when filtering.
Thanks Tim L. White for the report.
Regression in 4ed534758c
.
Backport of 20799cc0a6
from master
2020-08-13 13:13:25 +02:00
Daniel Hillier
f139372491
[3.1.x] Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
...
Backport of 60626162f7
from master
2020-08-11 12:30:31 +02:00
Carlton Gibson
02b474f2a4
[3.1.x] Fixed #31865 -- Adjusted admin nav sidebar template to reduce debug logging.
...
Thanks to Mariusz Felisiak for review.
Backport of 0aeb802cf0
from master
2020-08-11 11:43:22 +02:00
אורי
a1ce98fa6f
[3.1.x] Fixed #31871 -- Updated SESSION_COOKIE_SAMESITE comment in global_settings.py.
...
Follow up to b33bfc3839
.
Backport of ad827ddaef
from master
2020-08-10 08:47:21 +02:00
Mariusz Felisiak
c21bbe0883
[3.1.x] Fixed #31864 -- Fixed encoding session data during transition to Django 3.1.
...
Thanks אורי for the report.
Backport of 99abfe8f4d
from master
2020-08-07 21:43:46 +02:00
Mariusz Felisiak
1c3d3294c1
[3.1.x] Fixed #31854 -- Fixed wrapping of long model names in admin's sidebar.
...
Backport of e70dc506d7
from master
2020-08-05 10:55:11 +02:00
007gzs
ff8e6e83a9
[3.1.x] Fixed #31853 -- Fixed wrapping of translated action labels in admin sidebar.
...
Backport of b0af56f639
from master
2020-08-05 10:27:17 +02:00
Mariusz Felisiak
795943e6e7
[3.1.x] Post-release version bump.
2020-08-04 09:59:26 +02:00
Mariusz Felisiak
ec5bc3a991
[3.1.x] Bumped version for 3.1 release.
2020-08-04 09:56:19 +02:00
Mariusz Felisiak
9857352655
[3.1.x] Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.
...
It's a transitional setting helpful in migrating multiple instance of
the same project to Django 3.1+.
Thanks Markus Holtermann for the report and review, Florian
Apolloner for the implementation idea and review, and Carlton Gibson
for the review.
Backport of d907371ef9
from master.
2020-08-04 09:39:29 +02:00
Claude Paroz
08fb75ea64
[3.1.x] Updated translations from Transifex
...
Backport of 1a60838fa6
from master
2020-08-01 21:39:47 +02:00
Tim Graham
32cb1fe1c6
[3.1.x] Refs #31829 -- Added DatabaseFeatures.json_key_contains_list_matching_requires_list.
...
CockroachDB's behavior matches PostgreSQL.
Backport of 184a6eebb0
from master
2020-07-30 06:40:32 +02:00
sage
23ce3d8491
[3.1.x] Fixed #31829 -- Used JSONField __contains lookup on key transforms.
...
Backport of 2d8dcba03a
from master
2020-07-28 20:53:11 +02:00
Mariusz Felisiak
247bcef6b4
[3.1.x] Fixed #31836 -- Dropped support for JSONField __contains and __contained_by lookups on SQLite.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
Backport of ba691933ce
from master.
2020-07-28 13:08:19 +02:00
Mariusz Felisiak
028a5f86f2
[3.1.x] Fixed #31835 -- Dropped support for JSONField __contains lookup on Oracle.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
Backport of 02447fb133
from master
2020-07-28 11:54:35 +02:00
Tim Graham
d004bcee0c
[3.1.x] Reverted "Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file."
...
This reverts commit 3cd3bebe89
.
Backport of ff55adbd0d
from master
2020-07-22 07:04:52 +02:00
Mariusz Felisiak
c7e95dea80
[3.1.x] Bumped version for 3.1 release candidate 1.
2020-07-20 08:19:51 +02:00
Florian Apolloner
bfe404deb9
[3.1.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, 3.7.8+, and 3.8.4+.
...
Fixed sending emails crash on email addresses with display names longer
then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.
Wrapped display names were passed to email.headerregistry.Address()
what caused raising an exception because address parts cannot contain
CR or LF.
See https://bugs.python.org/issue39073
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 96a3ea39ef
from master
2020-07-20 07:15:04 +02:00
Mariusz Felisiak
3ca8cc0df1
[3.1.x] Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in HttpResponse.delete_cookie().
...
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.
This affects sessions and messages cookies.
Backport of 240cbb63bf
from master
2020-07-16 08:17:45 +02:00
Claude Paroz
dda8a2aa1d
Added admin translatable string.
2020-07-14 21:34:02 +02:00
Kelechi Precious Nwachukwu
6b273a2165
[3.1.x] Added Igbo language.
...
Backport of 2cd3e7eeaf
from master
2020-07-14 21:05:55 +02:00
Mariusz Felisiak
e6285cac83
[3.1.x] Fixed #31773 -- Fixed preserving output_field in ExpressionWrapper for combined expressions.
...
Thanks Thodoris Sotiropoulos for the report and Simon Charette for the
implementation idea.
Regression in df32fd42b8
.
Backport of 8a6df55f2d
from master
2020-07-09 11:55:45 +02:00
Resulkary
2160481066
[3.1.x] Added Turkmen language.
...
Backport of af2b3fee08
from master
2020-07-08 09:03:22 +02:00
Mariusz Felisiak
3b5e307bbc
[3.1.x] Fixed #31751 -- Fixed database introspection with cx_Oracle 8.
...
Backport of 615e32162f
from master
2020-06-30 09:54:42 +02:00
Mariusz Felisiak
5263480d7f
[3.1.x] Fixed #31742 -- Fixed makemigrations crash on ForeignKey to an app with mixed case label.
...
Regression in 9e1b6b8a66
.
Thanks Ignacio Santolin for the report.
Backport of 62d85a2835
from master
2020-06-26 23:20:21 +02:00
Simon Charette
b8cb14e8a0
[3.1.x] Fixed #31735 -- Fixed migrations crash on namespaced inline FK addition on PostgreSQL.
...
The namespace of the constraint must be included when making the
constraint immediate.
Regression in 22ce5d0031
.
Thanks Rodrigo Estevao for the report.
Backport of 2e8941b6f9
from master
2020-06-24 08:59:43 +02:00
Guillermo Bonvehí
b2e2489d80
[3.1.x] Fixed #31728 -- Fixed cache culling when no key is found for deletion.
...
DatabaseCache._cull implementation could fail if no key was found to
perform a deletion in the table. This prevented the new cache key/value
from being correctly added.
Backport of f386454d13
from master
2020-06-22 07:10:16 +02:00
Tom Forbes
ac7f7eab0f
[3.1.x] Fixed #31716 -- Fixed detection of console scripts in autoreloader on Windows.
...
Backport of 8a902b7ee6
from master
2020-06-18 13:04:44 +02:00
David Smith
9b95c3bc09
[3.1.x] Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments.
...
Backport of 10df5b7177
from master
2020-06-17 13:16:17 +02:00
Mariusz Felisiak
450df4a45a
[3.1.x] Bumped version for 3.1 beta 1.
2020-06-15 09:54:25 +02:00
Claude Paroz
6f526cb203
[3.1.x] Added support for the Tajik language.
...
Thanks Sirius Sufiew for contributing that support.
Backport of db8268bce6
from master
2020-06-12 22:32:46 +02:00
Mariusz Felisiak
42f5f2d76b
[3.1.x] Fixed #31659 -- Made ExpressionWrapper preserve output_field for combined expressions.
...
Regression in df32fd42b8
.
Thanks Simon Charette for the review.
Backport of aeb8996a67
from master
2020-06-12 07:21:19 +02:00
Michael Brown
45ec013116
[3.1.x] Fixed #28132 -- Made MultiPartParser ignore filenames with trailing slash.
...
Backport of 36db4dd937
from master
2020-06-11 09:12:14 +02:00
Hasan Ramezani
4385ef0119
[3.1.x] Fixed #31657 -- Fixed ordering by attnames of self-referential ForeignKeys.
...
Backport of 037a624120
from master
2020-06-10 12:05:31 +02:00
Joshua Massover
3fb69756ea
[3.1.x] Fixed #31594 -- Added ASGIStaticFilesHandler.get_response_async().
...
Backport of 92309e53d9
from master
2020-06-08 13:00:48 +02:00
David Smith
1ac45e619d
[3.1.x] Fixed #31662 -- Added detection for GDAL 3.0 and 3.1 on Windows.
...
Backport of 4652f1f0aa
from master
2020-06-08 09:50:24 +02:00
Nicolas Baccelli
83749dca7a
[3.1.x] Fixed #31664 -- Reallowed using non-expressions having filterable attribute as rhs in queryset filters.
...
Regression in 4edad1ddf6
.
Backport of b38d44229f
from master
2020-06-08 09:18:32 +02:00
Mariusz Felisiak
df9b9de6b0
[3.1.x] Fixed #31660 -- Fixed queryset crash when grouping by m2o relation.
...
Regression in 3a941230c8
.
Thanks Tomasz Szymański for the report.
Backport of 78ad4b4b02
from master
2020-06-08 07:23:09 +02:00
Sasha Pachev
21adaffb6e
[3.1.x] Fixed #31663 -- Made DecimalField.to_python() handle non-numeric invalid values.
...
Backport of 38a21f2d9e
from master
2020-06-05 21:14:33 +02:00
Mariusz Felisiak
031a082d41
[3.1.x] Fixed #31654 -- Fixed cache key validation messages.
...
Backport of 926148ef01
from master
2020-06-05 07:22:24 +02:00
Claude Paroz
acaa201527
[3.1.x] Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
...
Backport of 9e57b1efb5
from master
2020-06-04 11:00:40 +02:00
Collin Anderson
5b3886d091
[3.1.x] Fixed #31641 -- Improved loading of navigation sidebar in admin.
...
Backport of 4ae9a2b18e
from master
2020-06-03 15:17:45 +02:00
Dan Palmer
580bd64c04
[3.1.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memcached backends.
2020-06-03 09:31:28 +02:00
Jon Dufresne
49d7cc19e3
[3.1.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget.
2020-06-03 09:30:41 +02:00
Mariusz Felisiak
619e3db7d5
[3.1.x] Refs #30997 -- Improved HttpRequest.is_ajax() warning message with stacklevel=2.
...
Backport of 7fc317ae73
from master
2020-06-03 08:48:21 +02:00
Thodoris Sotiropoulos
fdd2b01e8e
[3.1.x] Fixed #31651 -- Made ExpressionWrapper use grouping columns from wrapped expression.
...
Backport of df32fd42b8
from master
2020-06-03 07:53:27 +02:00
Carles Pina
56af541790
[3.1.x] Fixed #31536 -- Fixed rendering of disabled AdminFileWidget and ClearableFileInput.
...
Backport of e46c2326c8
from master
2020-06-01 12:48:26 +02:00
Carlton Gibson
98fada7244
[3.1.x] Fixed #31570 -- Corrected translation loading for apps providing territorial language variants with different plural equations.
...
Regression in e3e48b0012
.
Thanks to Shai Berger for report, reproduce and suggested fix.
Backport of dd1ca50b09
from master
2020-06-01 09:27:02 +02:00
Simon Charette
aca675ad33
[3.1.x] Refs #21171 -- Made Collector.delete() rollback in the correct database.
...
Regression in c7dd8490b882b2cefdc7faf431dc64c532b79c9.
Backport of f8ef5f2c86
from master
2020-05-29 10:25:20 +02:00
Mariusz Felisiak
bd389a832a
[3.1.x] Refs #31040 , Refs #31224 -- Prevented cycles in exceptions chain.
...
Async exception handling was raising an exception that was creating a
cycle in the exception chain (by re-raising an exception in
sync_to_async that was already being handled).
Thanks Chris Jerdonek for detailed analysis.
Backport of d94a9aa055
from master
2020-05-28 13:06:12 +02:00
Tom Carrick
dc3234be48
[3.1.x] Refs #31034 -- Improved accessibility of admin navigation sidebar.
...
Backport of 780473d756
from master
2020-05-28 11:20:39 +02:00
Laurent Tramoy
df88f24b1f
[3.1.x] Fixed #31614 -- Fixed aliases ordering by OrderBy() expressions of combined queryset.
...
Backport of 2aac176e86
from master
2020-05-26 23:35:34 +02:00
Nan Liu
114da2d045
[3.1.x] Fixed #31416 -- Made autodetector find dependencies for MTI model creation on base fields removal.
...
Removing a base field must take place before adding a new inherited
model that has a field with the same name.
Backport of 33c365781a
from master
2020-05-26 08:34:14 +02:00
Simon Charette
d91095def4
[3.1.x] Fixed #31624 -- Avoided subquery usage on QuerySet.all().delete().
...
Thanks Adam Johnson for the report.
Regression in 7acef095d7
.
Backport of 972000420e
from master
2020-05-25 08:47:51 +02:00
Jon Dufresne
6e3c543909
[3.1.x] Refs #31534 -- Improved django.conf.urls.url() warning message with stacklevel=2.
...
Use stacklevel=2 to show the calling site.
Backport of 437196da9a
from master
2020-05-23 18:18:54 +02:00
Fran Hrzenjak
47e21d339f
[3.1.x] Fixed #31597 , #31603 -- Corrected admin clear all filters link behavior.
...
- Show "Clear all filters" only when any filter is selected.
- Preserve query string not related with filters.
Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
Backport of 4484bc1b2f
from master
2020-05-20 21:35:09 +02:00
Claude Paroz
ff9cdb70cf
[3.1.x] Added Kyrgyz language.
...
Thanks Soyuzbek orozbek uulu for contributing that support.
Backport of 3460ea49e8
from master
2020-05-20 12:30:18 +02:00
Mariusz Felisiak
937314dc05
[3.1.x] Fixed #31607 -- Fixed evaluated Subquery equality.
...
Regression in 691def10a0
.
Backport of a125da6a7c
from master
2020-05-19 22:50:36 +02:00
Jon Dufresne
3f977c5837
[3.1.x] Updated docutils link to HTTPS and new location.
...
Backport of 7070d46114
from master
2020-05-18 08:46:51 +02:00
Tim Graham
5480fab290
[3.1.x] Refs #12990 -- Added DatabaseFeatures.has_json_operators.
...
CockroachDB also has them.
Backport of f59a2b7306
from master
2020-05-18 08:12:57 +02:00
Jon Dufresne
16716551bd
[3.1.x] Refs #31034 -- Used === in nav_sidebar.js admin JS to avoid possible coercion issues.
...
Backport of e46f700e39
from master
2020-05-18 08:09:47 +02:00
kjpc-tech
ef19aec2ca
[3.1.x] Fixed #31590 -- Fixed ModelAdmin.date_hierarchy crash with an empty QuerySet.
...
Regression in 55cdf6c52d
.
Backport of 099bce1bf0
from master
2020-05-15 07:07:49 +02:00
Mariusz Felisiak
b46b0f80e8
[3.1.x] Fixed #31584 -- Fixed crash when chaining values()/values_list() after Exists() annotation and aggregation on Oracle.
...
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in
the GROUP BY clause.
Regression in efa1908f66
.
Backport of 3a941230c8
from master
2020-05-14 15:10:28 +02:00
Mariusz Felisiak
bebb7d4d7e
[3.1.x] Bumped version for 3.1 alpha 1 release.
2020-05-14 11:05:05 +02:00
Jon Dufresne
1c2d0fdf3e
[3.1.x] Fixed #31575 -- Added system check for admin sidebar request context processor dependency.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of d522b51c40
from master
2020-05-14 11:01:22 +02:00
Simon Charette
3913acdb29
[3.1.x] Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.
...
691def10a0
made all Subquery() instances
equal to each other which broke aggregation subquery pushdown which
relied on object equality to determine which alias it should select.
Subquery.__eq__() will be fixed in an another commit but
Query.rewrite_cols() should haved used object identity from the start.
Refs #30727 , #30188 .
Thanks Makina Corpus for the report.
Backport of adfbf653dc
from master
2020-05-14 10:26:05 +02:00
Simon Charette
8cb87a3f7c
[3.1.x] Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() after annotate() with aggregations and subqueries.
...
Subquery annotation references must be resolved if they are excluded
from the GROUP BY clause by a following .values() call.
Regression in fb3f034f1c
.
Thanks Makina Corpus for the report.
Backport of 42c08ee465
from master
2020-05-14 08:39:21 +02:00
Sergey Fedoseev
91e287cce0
Refs #30678 -- Added support for GDAL 3.1.
...
OSRSetAxisMappingStrategy() really returns void, so no errcheck is
needed. Previously set errcheck was raising positive false exceptions
on GDAL 3.1.
2020-05-12 11:25:19 +02:00
Claude Paroz
58f1b07e49
Fixed #30678 -- Added support for GDAL 3.
2020-05-12 09:06:06 +02:00
Mariusz Felisiak
0668164b4a
Fixed E128, E741 flake8 warnings.
2020-05-12 08:52:23 +02:00
Claude Paroz
e6ec76d245
Updated JS admin translation catalog.
2020-05-11 22:59:27 +02:00
Claude Paroz
33f26339b7
Updated source translation catalogs.
2020-05-11 21:34:46 +02:00
Tom Carrick
46fe506445
Corrected indentation of #main div in admin base template.
2020-05-11 18:16:38 +02:00
Tom Carrick
d24ba1be7a
Fixed #31034 -- Added a navigation sidebar to the admin.
...
Co-authored-by: elky <elky@users.noreply.github.com>
Co-authored-by: Goetz <goetz.buerkle@gmail.com>
2020-05-11 18:16:38 +02:00
Jon Dufresne
d6aff369ad
Refs #30116 -- Simplified regex match group access with Match.__getitem__().
...
The method has been available since Python 3.6. The shorter syntax is
also marginally faster.
2020-05-11 12:01:28 +02:00
Sergey Fedoseev
23f6fbdd93
Simplified GDAL version parsing.
2020-05-11 11:57:22 +02:00
Adam Johnson
a8b2db1cae
Optimized Model and QuerySet pickling version comparison.
2020-05-11 09:50:11 +02:00
Jon Dufresne
72a170b4c3
Fixed #25236 -- Deprecated {% ifequal %} and {% ifnotequal %} template tags.
...
The {% if %} tag provides all features of these tags.
Since Django 1.2 (May 17, 2010), the docs have hinted that
{% ifequal %} and {% ifnotequal %} will be deprecated in a future
Django version. Time to make it official.
2020-05-11 09:07:33 +02:00
Yash Saini
ccb1cfb64e
Fixed #31548 -- Fixed URLValidator crash on non-strings.
2020-05-08 20:53:05 +02:00
Hasan Ramezani
87faeee4e0
Fixed #31528 -- Made collectstatic management command run staticfiles checks.
2020-05-08 12:47:57 +02:00
Mariusz Felisiak
b23e3a1caa
Refs #27661 -- Added Tags.staticfiles.
...
Follow up to 0ec4dc91e0
.
2020-05-08 11:38:18 +02:00
dbxnr
fc0f7f6c15
Fixed #31157 -- Fixed displaying read-only JSONField values in admin.
2020-05-08 09:44:42 +02:00