Tim Graham
01b7fdfd67
[2.1.x] Fixed #29520 -- Fixed test client crash when posting bytes.
...
Regression in b8a41a2872
.
Backport of 9294110a57
from master
2018-06-27 16:52:06 -04:00
Chris Jerdonek
da46599143
[2.1.x] Refs #29253 -- Fixed method_decorator() crash if decorator sets a new attribute.
...
Regression in fdc936c913
.
Backport of f434f5b84f
from master
2018-06-27 11:46:24 -04:00
Tim Graham
714612a638
[2.1.x] Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.
...
Backport of 7cdeb23ae7
from master
2018-06-22 09:32:33 +02:00
Carlton Gibson
dae75481fa
[2.1.x] Refs #29451 -- Fixed invalid SQL on MySQL in queries tests.
...
Backport of c4f099de1d
from master
2018-06-20 10:39:15 -04:00
Nick Pope
16e691d568
[2.1.x] Fixed #29503 -- Made __in lookup keep order of values in query.
...
Regression in 86eccdc8b6
.
Backport of b0fbfae093
from master
2018-06-20 09:42:47 -04:00
Carlton Gibson
67fc680c43
[2.1.x] Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields.
...
Backport of 5b73317181
from master
2018-06-18 15:37:10 -04:00
Carlton Gibson
306f1f8ea3
[2.1.x] Fixed #29419 -- Allowed permissioning of admin actions.
...
Backport of 958c7b301e
from master
2018-06-18 15:37:05 -04:00
Mariusz Felisiak
d2ca28db54
[2.1.x] Fixed #29496 -- Fixed crash on Oracle when converting a non-unique field to primary key.
...
Thanks Tim Graham for the review.
Backport of 6dd4edb1b4
from master
2018-06-17 08:54:01 +02:00
oliver
d03b130cbc
[2.1.x] Fixed #29469 -- Added a helpful makemigrations error if app_label contains dots.
...
Backport of 78972af367
from master
2018-06-16 15:19:08 -04:00
Paulo
8cbfaf29c0
[2.1.x] Fixed #29487 -- Accounted for object level permissions when calculating change view's read-only fields.
...
Thanks Matthew Frazier for the report and fix.
Backport of 553617e613
from master
2018-06-15 22:11:32 -04:00
Tim Graham
7f173b6b4f
[2.1.x] Fixed #29498 -- Fixed a missing pyc test file in source distribution.
...
Backport of 63f90f55f3
from master
2018-06-15 14:49:18 -04:00
Jeff
2b7b199390
[2.1.x] Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after RenameField.
...
Regression in 45ded053b1
.
Backport of fcc4e251db
from master
2018-06-15 12:07:40 -04:00
Henk Kahlfuß
0eca99dade
[2.1.x] Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permission() for permissions checking.
...
Backport of 3eb9127678
from master
2018-06-15 10:47:05 -04:00
Tim Graham
531a152c65
[2.1.x] Refs #29428 -- Fixed admin check crash when using a query expression in ModelAdmin.ordering.
...
Backport of ec2c9c3531
from master
2018-06-15 10:00:38 -04:00
Tim Graham
a041161bde
[2.1.x] Fixed #29428 -- Fixed admin changelist crash when using a query expression without asc()/desc() in the ordering.
...
Backport of 0d8e3e608e
from master
2018-06-15 10:00:29 -04:00
Carlton Gibson
aea0e2b9ca
[2.1.x] Refs #29419 , #8936 -- Removed change permission requirement for admin actions.
...
Partially reverted 825f0beda8
.
Backport of b30f9b131c
from master
2018-06-13 14:53:25 -04:00
Bartosz Grabski
c7d59825d7
[2.1.x] Fixed #29452 -- Fixed makemessages setting charset of .pot files.
...
Backport of 2bc014750a
from master
2018-06-12 08:29:22 -04:00
Arthur Silva
91a02dce97
[2.1.x] Fixed #29464 -- Silenced post-process messages in collectstatic's default verbosity.
...
Backport of bc1435551c
from master
2018-06-11 20:49:27 -04:00
Claude Paroz
69e2d173e5
[2.1.x] Refs #29483 -- Relaxed WGS 84 check regex
...
With GDAL 2.3, the exact string changed again.
Backport of 86988dd890
from master.
2018-06-09 09:20:52 +02:00
Claude Paroz
33b5313d7c
[2.1.x] Fixed #29301 -- Added custom help formatter to BaseCommand class
...
This partially reverts c3055242c8
.
Thanks Adam Johnson and Carlton Gibson for the reviews.
Backport of ce3351b950
from master.
2018-06-06 19:17:57 +02:00
Tim Graham
60aa235f43
[2.1.x] Fixed MySQL QuerySet.explain() test when running tests in reverse.
...
Backport of 13fe5a87f9
from master
2018-06-06 11:31:39 -04:00
Tim Graham
ae3ddce4e8
[2.1.x] Relaxed a GDAL raster test.
...
The exact metadata depends on the GDAL version.
Backport of 3dffcb5579
from master
2018-06-04 10:02:18 -04:00
Tim Graham
cc8ef63211
[2.1.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.
...
Backport of 666be7b994
from master
2018-06-02 07:33:09 -04:00
Tim Graham
93304b2269
[2.1.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.
...
Backport of 55f4eee75d
from master
2018-06-01 22:32:06 -04:00
Adam Donaghy
10a6d444af
[2.1.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
...
Regression in 917cc288a3
.
Backport of b18650a263
from master
2018-06-01 11:00:13 -04:00
Mariusz Felisiak
31b9cf97b9
[2.1.x] Refs #29416 -- Fixed GeoExpressionsTests.test_multiple_annotation() on MySQL 5.7+.
...
Failure introduced in b6e48f514e
.
Backport of d0ad03cded
from master
2018-05-31 10:38:57 -04:00
Tim Graham
4ca64f2bd5
[2.1.x] Refs #28748 -- Reallowed lazy model field choices.
...
Regression in 3aa9ab39cc
.
Backport of c03e41712b
from master
2018-05-29 21:43:56 -04:00
Paulo
25d4d8465b
[2.1.x] Fixed #29230 -- Fixed nested prefetches that clash with descriptors.
...
Backport of 6104875a2c
from master
2018-05-27 22:14:59 -04:00
Mariusz Felisiak
b6e48f514e
[2.1.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.
...
Regression in 1d070d027c
.
Backport of 4ab1f559e8
from master
2018-05-27 18:25:42 -04:00
Ramiro Morales
c56d94c02a
[2.1.x] Fixed #29417 -- Corrected two admin page titles for view-only users.
...
Backport of f40e71a957
from master
2018-05-27 16:38:26 -04:00
Daniel Hepper
13cb9d05a0
[2.1.x] Removed obsolete BaseHandler attributes.
...
Unused since d334f46b7a
.
Backport of 4e016d1372
from master
2018-05-27 13:45:22 -04:00
Tim Graham
483f5d6c4f
[2.1.x] Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set."
...
This reverts commit b3cffde555
due to
a regression and performance concerns.
Backport of 5cc81cd9eb
from master
2018-05-26 21:07:19 -04:00
Xaroth Brook
39e61669e0
[2.1.x] Fixed #29415 -- Fixed detection of custom URL converters in included patterns.
...
Backport of 39283c8edb
from master
2018-05-26 20:29:29 -04:00
Ryan Rubin
6b91152a10
[2.1.x] Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
...
Regression in 620e9dd31a
.
Backport of a8d12bc280
from master
2018-05-25 11:12:03 -04:00
Paulo Alvarado
6cce05589d
[2.1.x] Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't have the change permission.
...
Regression in 825f0beda8
.
Backport of ffb72a95bc
from master
2018-05-18 22:37:33 -04:00
bakabiko
54b29e022d
[2.1.x] Fixed #29380 -- Added support for QuerySet.select_for_update()'s nowait and skip_locked options on MySQL 8+.
...
Backport of a7bc1aea03
from master
2018-05-18 19:38:10 -04:00
olivierdalang
825f0beda8
Fixed #8936 -- Added a view permission and a read-only admin.
...
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-16 06:44:55 -04:00
Tim Graham
49a1736c2e
Added assertion for admin change form's "save and continue editing" message.
2018-05-15 20:17:02 -04:00
Claude Paroz
a177f854c3
Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.
...
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-15 18:12:11 +02:00
Ryan P Kilby
2dcc5d629a
Fixed #29392 -- Disallowed use of abbreviated forms of --settings and --pythonpath management command options.
2018-05-14 22:18:22 -04:00
Tim Graham
cae0107287
Increased the default PBKDF2 iterations for Django 2.1.
2018-05-13 20:06:20 -04:00
Claude Paroz
d65b0f72de
Fixed #17379 -- Removed management commands deactivation of the locale.
2018-05-13 10:21:53 +02:00
Tim Graham
1e0cbc72e5
Moved to_language() to django.utils.translation.
...
Follow up to 1b7d524cfa
.
2018-05-12 15:03:38 -04:00
Tim Graham
1b7d524cfa
Consolidated duplicate to_locale() implementations.
...
Follow up to ac59ec8f1a
.
2018-05-12 12:58:21 -04:00
Hasan Ramezani
305dee7bf9
Increased django.utils.translation.trans_null test coverage.
2018-05-12 11:23:44 -04:00
Hasan Ramezani
ac59ec8f1a
Aliased trans_null.to_locale() to trans_real.to_locale().
...
The implementations have unintentionally diverged.
2018-05-12 10:54:22 -04:00
Stefan R. Filipek
a5a2ceeb45
Fixed #27629 -- Added router.allow_relation() calls for assignments between unsaved model instances.
2018-05-10 20:42:44 -04:00
Claude Paroz
9c4ea63e87
Replaced TOKEN_* constants by TokenType enums.
...
Thanks Tim Graham for the review.
2018-05-10 17:51:51 +02:00
Maximilian Merz
78912ccd0e
Fixed #21408 — German Translation for “3 days ago”
...
The problem:
“3 days ago” should translate to “vor 3 Tagen” in German, while “3 days” translates to “3 Tage”. #21408 describes that django always translated to “Tage”, even when the dative “Tagen” was correct. The same applies to months (“Monate”/“Monaten”) and years (“Jahre”/“Jahren”).
The solution:
Let `timesince` caller provide the string dict to use for the time-related strings.
2018-05-10 15:53:33 +02:00
Morgan Aubert
704443acac
Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().
2018-05-09 11:40:28 -04:00