summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-06-18[2.1.x] Fixed #29502 -- Allowed users with the view permission to use ↵Carlton Gibson
autocomplete_fields. Backport of 5b733171813f8ddc7af84abe79f2646204b9c6ca from master
2018-06-18[2.1.x] Fixed #29419 -- Allowed permissioning of admin actions.Carlton Gibson
Backport of 958c7b301ead79974db8edd5b9c6588a10a28ae7 from master
2018-06-17[2.1.x] Fixed #29496 -- Fixed crash on Oracle when converting a non-unique ↵Mariusz Felisiak
field to primary key. Thanks Tim Graham for the review. Backport of 6dd4edb1b4f5441c5f543e29395039839c50d10b from master
2018-06-16[2.1.x] Fixed #29469 -- Added a helpful makemigrations error if app_label ↵oliver
contains dots. Backport of 78972af367a1da54aa7e539e4b1ffa2b56571e77 from master
2018-06-15[2.1.x] Fixed #29487 -- Accounted for object level permissions when ↵Paulo
calculating change view's read-only fields. Thanks Matthew Frazier for the report and fix. Backport of 553617e61324dd5d9b34c47ceb2b6f20888daf20 from master
2018-06-15[2.1.x] Fixed #29498 -- Fixed a missing pyc test file in source distribution.Tim Graham
Backport of 63f90f55f30d599d601d729060cdb0ebd2abdeb8 from master
2018-06-15[2.1.x] Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when ↵Jeff
run after RenameField. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. Backport of fcc4e251dbc917118f73d7187ee2f4cbf3883f36 from master
2018-06-15[2.1.x] Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use ↵Henk Kahlfuß
has_delete_permission() for permissions checking. Backport of 3eb9127678e292ef2645b632199f3e9c876ad999 from master
2018-06-15[2.1.x] Refs #29428 -- Fixed admin check crash when using a query expression ↵Tim Graham
in ModelAdmin.ordering. Backport of ec2c9c353113bb1db6e32ed3f0b6c28bc06ca2eb from master
2018-06-15[2.1.x] Fixed #29428 -- Fixed admin changelist crash when using a query ↵Tim Graham
expression without asc()/desc() in the ordering. Backport of 0d8e3e608ee9aab5076d497664aa97e0a29e523e from master
2018-06-13[2.1.x] Refs #29419, #8936 -- Removed change permission requirement for ↵Carlton Gibson
admin actions. Partially reverted 825f0beda804e48e9197fcf3b0d909f9f548aa47. Backport of b30f9b131c9489b9d9f21c311ecb46d0aea91381 from master
2018-06-12[2.1.x] Fixed #29452 -- Fixed makemessages setting charset of .pot files.Bartosz Grabski
Backport of 2bc014750adb093131f77e4c20bc17ba64b75cac from master
2018-06-11[2.1.x] Fixed #29464 -- Silenced post-process messages in collectstatic's ↵Arthur Silva
default verbosity. Backport of bc1435551c0cfaf4a22aff8216990b909005dba9 from master
2018-06-09[2.1.x] Refs #29483 -- Relaxed WGS 84 check regexClaude Paroz
With GDAL 2.3, the exact string changed again. Backport of 86988dd890671aa8935f86eab2bbe22ad917db70 from master.
2018-06-06[2.1.x] Fixed #29301 -- Added custom help formatter to BaseCommand classClaude Paroz
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610. Thanks Adam Johnson and Carlton Gibson for the reviews. Backport of ce3351b9508896afdf87d11bd64fd6b5ad928228 from master.
2018-06-06[2.1.x] Fixed MySQL QuerySet.explain() test when running tests in reverse.Tim Graham
Backport of 13fe5a87f9554a6371f1d0914887bffcdf978a8a from master
2018-06-04[2.1.x] Relaxed a GDAL raster test.Tim Graham
The exact metadata depends on the GDAL version. Backport of 3dffcb5579a5a64f1869b9b46a379d519079d805 from master
2018-06-02[2.1.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.Tim Graham
Backport of 666be7b9942611d5c0f5e485c448f219cd5a1ad5 from master
2018-06-01[2.1.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.Tim Graham
Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
2018-06-01[2.1.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.Adam Donaghy
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36. Backport of b18650a2634890aa758abae2f33875daa13a9ba3 from master
2018-05-31[2.1.x] Refs #29416 -- Fixed GeoExpressionsTests.test_multiple_annotation() ↵Mariusz Felisiak
on MySQL 5.7+. Failure introduced in b6e48f514ebe4e31b76e1750e043d4f296e645dc. Backport of d0ad03cded64fc307b15668c81d0c65fd8486eff from master
2018-05-29[2.1.x] Refs #28748 -- Reallowed lazy model field choices.Tim Graham
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986. Backport of c03e41712b2274f524d32bc2aef455ed82c9e3b4 from master
2018-05-27[2.1.x] Fixed #29230 -- Fixed nested prefetches that clash with descriptors.Paulo
Backport of 6104875a2cc797bbd1254aa61f22a9b03d652128 from master
2018-05-27[2.1.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on ↵Mariusz Felisiak
MySQL when using a RawSQL annotation. Regression in 1d070d027c218285b66c0bde8079034b33a87f11. Backport of 4ab1f559e8d1264bcb20bb497988973194f5d8f2 from master
2018-05-27[2.1.x] Fixed #29417 -- Corrected two admin page titles for view-only users.Ramiro Morales
Backport of f40e71a957aa00b4572c19b269179cded6c8c500 from master
2018-05-27[2.1.x] Removed obsolete BaseHandler attributes.Daniel Hepper
Unused since d334f46b7a080fd3eb720141c19b37b10704a352. Backport of 4e016d137236d36d47462f63e8f7988f1ad6c12e from master
2018-05-26[2.1.x] Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured ↵Tim Graham
if SECRET_KEY is accessed and not set." This reverts commit b3cffde5559c4fa97625512d7ec41a674be26076 due to a regression and performance concerns. Backport of 5cc81cd9eb69f5f7a711412c02039b435c393135 from master
2018-05-26[2.1.x] Fixed #29415 -- Fixed detection of custom URL converters in included ↵Xaroth Brook
patterns. Backport of 39283c8edbc5991b589d48a8e17152042193f2df from master
2018-05-25[2.1.x] Fixed #29400 -- Fixed crash in custom template filters that use ↵Ryan Rubin
decorated functions. Regression in 620e9dd31a2146d70de740f96a8cb9a6db054fc7. Backport of a8d12bc28069d56e0306770ab9c73738293663f7 from master
2018-05-18[2.1.x] Fixed #29414 -- Restored form inputs on admin inlines when the user ↵Paulo Alvarado
doesn't have the change permission. Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47. Backport of ffb72a95bcd6fc5cce7915f3b3732a05837f29a2 from master
2018-05-18[2.1.x] Fixed #29380 -- Added support for QuerySet.select_for_update()'s ↵bakabiko
nowait and skip_locked options on MySQL 8+. Backport of a7bc1aea03508f544c9dfac0f34b01996653cef4 from master
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-15Added assertion for admin change form's "save and continue editing" message.Tim Graham
2018-05-15Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.Claude Paroz
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-14Fixed #29392 -- Disallowed use of abbreviated forms of --settings and ↵Ryan P Kilby
--pythonpath management command options.
2018-05-13Increased the default PBKDF2 iterations for Django 2.1.Tim Graham
2018-05-13Fixed #17379 -- Removed management commands deactivation of the locale.Claude Paroz
2018-05-12Moved to_language() to django.utils.translation.Tim Graham
Follow up to 1b7d524cfa7b7834af26c99407af66be6813938d.
2018-05-12Consolidated duplicate to_locale() implementations.Tim Graham
Follow up to ac59ec8f1a34ea0e82bdb3c77422694e8016e0a7.
2018-05-12Increased django.utils.translation.trans_null test coverage.Hasan Ramezani
2018-05-12Aliased trans_null.to_locale() to trans_real.to_locale().Hasan Ramezani
The implementations have unintentionally diverged.
2018-05-10Fixed #27629 -- Added router.allow_relation() calls for assignments between ↵Stefan R. Filipek
unsaved model instances.
2018-05-10Replaced TOKEN_* constants by TokenType enums.Claude Paroz
Thanks Tim Graham for the review.
2018-05-10Fixed #21408 — German Translation for “3 days ago”Maximilian Merz
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-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2018-05-09Added tests for trans_null.ngettext().Hasan Ramezani
2018-05-09Fixed #29389 -- Made Paginator reject non-integer page numbers of type float.Nicolas Noé
2018-05-09Refs #29389 -- Added Paginator test for float page number.Nicolas Noé
2018-05-07Fixed #29370 -- Added choices to LogEntry.action_flag field.Nicolas Noé
2018-05-07Captured logging in tests with self.assertLogs().Claude Paroz