summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-04-19[2.0.x] Fixed #29212 -- Doc'd redirect loop if @permission_required used ↵Nick Pope
with redirect_authenticated_user. Backport of df90e462d91d3a77aa89b69d791bf17c2bf7ff9b from master
2018-04-17[2.0.x] Fixed a test failure with the latest GeoIP2 database.Tim Graham
Backport of 7a22d9f75125e3cfbea0979a876efe4634f6fe05 from master
2018-04-17[2.0.x] Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
Backport of 64b74804c537b12d4cca64f7cb529c0478b4c4d9 from master
2018-04-13[2.0.x] Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() ↵Mariusz Felisiak
or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection(). Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf. Thanks Tim Graham and Carlton Gibson for reviews. Backport of 0b66c3b442875627fa6daef4ac1e90900d74290b from master
2018-04-12[2.0.x] Fixed schema test failure when running tests in reverse.Tim Graham
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528. Backport of 78f8b80f9b215e50618375adce4c97795dabbb84 from master
2018-04-12[2.0.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable ↵Paul Donohue
object. Backport of 33a0b7ac815588ed92dca215e153390af8bdbdda from master
2018-04-11[2.0.x] Fixed #29193 -- Prevented unnecessary foreign key drops when ↵Jeremy Bowman
altering a unique field. Stopped dropping and recreating foreign key constraints on other fields in the same table as the one which is actually being altered in an AlterField operation. Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0. Backport of ee17bb8a67a9e7e688da6e6f4b3be1b3a69c09b0 from master
2018-04-11[2.0.x] Tested altering a unique field when a reverse M2M relation exists.Jeremy Bowman
Backport of 003334f8af29e2023cf7ad7d080aa9ab26a7c528 from master
2018-04-10[2.0.x] Fixed #29307 -- Fixed inspectdb import paths for ↵Alasdair Nicol
django.contrib.postgres fields. Thanks erindy for the report. Backport of 65c44a5c1d5412d402af19480e3c1c3e3e88893a from master
2018-04-02[2.0.x] Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the ↵Claude Paroz
widget map's SRID. Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928. Backport of 2a2ed0e70a93bfd1a3d41af40870fe963dc2687d from master
2018-04-02[2.0.x] Fixed #29273 -- Prevented initial selection of empty choice in ↵Claude Paroz
multiple choice widgets. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of f3b69f9757ec03057441ebbd52b7cdbfed31fb32 from master.
2018-03-19[2.0.x] Fixed #29229 -- Fixed column mismatch crash when combining two ↵Amr Anwar
annotated values_list() querysets with union(), difference(), or intersection(). Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e. Backport of a0c03c62a8ac586e5be5b21393c925afa581efaf from master
2018-03-15[2.0.x] Fixed #29206 -- Fixed PasswordResetConfirmView crash when the URL ↵Mattia Procopio
contains a non-UUID where one is expected. Backport of aeb8c381789ad93866223f8bd07d09ae5e2edd9e from master
2018-03-15[2.0.x] Fixed #29221 -- Corrected admin's autocomplete widget to add a space ↵Artem Tabolin
after custom classes. Backport of a2f7433adc610cb0a85b3e23a1fec2267591f866 from master
2018-03-13[2.0.x] Fixed #29213 -- Fixed autocomplete widget's translations for ↵dzhuang
zh-hans/zh-hant. Backport of e17088a108e604cad23b000a83189fdd02a8a2f9 from master
2018-03-08[2.0.x] Fixed #29195 -- Fixed Exists.output_field resolution on ↵Simon Charette
single-valued queries. The Subquery class which Exists inherits from defaulted to using single-valued querie's field if no output_field was explicitly specified on initialization which was bypassing the Exists.output_field defined at the class level. Moving Subquery's dynamic output_field resolution to _resolve_output_field should make sure the fallback logic is only performed if required. Regression in 08654a99bbdd09049d682ae57cc94241534b29f0. Thanks Oli Warner for the detailed report. Backport of 277ed072094ad87fc6b2c4669f21d43b1f39043c from master
2018-03-06[2.0.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in ↵Tim Graham
django.utils.text.Truncator. Thanks James Davis for suggesting the fix.
2018-03-06[2.0.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize and ↵Tim Graham
urlizetrunc template filters. Thanks Florian Apolloner for assisting with the patch.
2018-03-02[2.0.x] Fixed #29176 -- Fixed AbstractBaseUser.normalize_username() crash if ↵Christophe Mehay
username isn't a string. Backport of 40bac28faabbacd0875e59455cd80fb1dbb16966 from master
2018-03-01[2.0.x] Fixed #29172 -- Fixed crash with Window expression in a subquery.Tomáš Ehrlich
Backport of fa352626c2a80bcdcd0fc6492b5fd5130490f05e from master
2018-02-28[2.0.x] Fixed #29166 -- Fixed crash in When() expression with a list argument.Mariusz Felisiak
Thanks Matthew Pava for the report and Tim Graham and Carlton Gibson for reviews. Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f. Backport of 54f80430be4a9adf1fc00b4ca17547415fafc69b from master
2018-02-20[2.0.x] Removed blank lines per isort 4.3.0.Tim Graham
2018-02-15[2.0.x] Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() ↵Tim Graham
with manually specified pks. Backport of e917ea6bec45d7f789ca96a13be15df9521963e1 from master
2018-02-12[2.0.x] Refs #29125 -- Made Q.deconstruct() omit 'query_utils' in the path ↵Tim Graham
and _connector='AND' since it's a default value. Backport of 9ba3df82402e7e23b353da20aea6894935241ef9 from master
2018-02-12[2.0.x] Fixed #29125 -- Made Q.deconstruct() deterministic with multiple ↵Tim Graham
keyword arguments. Backport of b95c49c954e3b75678bb258e9fb2ec30d0d960bb from master
2018-02-10[2.0.x] Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)).Raphael Gaschignard
Backport of bf26f66029bca94b007a2452679ac004598364a6 from master
2018-02-10[2.0.x] Fixed #29109 -- Fixed the admin time picker widget for the Thai locale.Manatsawin Hanmongkolchai
Backport of 1a1264f1494976c562c7cb832fe47f3e1e765b8f from master
2018-02-08[2.0.x] Switched test requirement to new psycopg2-binary package.Tim Graham
Backport of d4373b6da4b420fe9211438addeedb396a3821be from master
2018-02-08[2.0.x] Fixed #29108 -- Fixed crash in aggregation of ↵Simon Charette
distinct+ordered+sliced querysets. Regression in 4acae21846f6212aa992763e587c7e201828d7b0. Thanks Stephen Brooks for the report. Backport of d61fe246015aa4fdc6dcb837ffb1442fa71ae586 from master
2018-02-01[2.0.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.Tim Graham
Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645). This is a security fix.
2018-02-01[2.0.x] Fixed #29094 -- Fixed crash when entering an invalid uuid in ↵Tim Graham
ModelAdmin.raw_id_fields. Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89. Thanks Carel Burger for the report and fix. Backport of 552abffab16cbdff571486b683e7e7ef12e46066 from master
2018-01-31[2.0.x] Fixed #29091 -- Fixed makemigrations crash if migrations directory ↵Tim Graham
doesn't have __init__.py. Regression in aadd3aeb2ba3153e35bd805c80c901f289a6f333. Backport of 0a37ea56d05208e31ed2f29fdffca65b6d92fa2e from master
2018-01-31[2.0.x] Fixed #29071 -- Fixed contrib.auth.authenticate() crash if a backend ↵Tim Graham
doesn't accept a request but a later one does. Regression in a3ba2662cdaa36183fdfb8a26dfa157e26fca76a.
2018-01-30[2.0.x] Wrapped an import per isort.Tim Graham
2018-01-27[2.0.x] Fixed #29054 -- Fixed a regression where a queryset that annotates ↵Mariusz Felisiak
with geometry objects crashes. Made GEOSGeometryBase hashable. Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f. Thanks Tim Graham for the review. Backport of b002a032f90b8cd228cfcee6c88cd238a8191cc0 from master
2018-01-26[2.0.x] Fixed #29067 -- Fixed regression in QuerySet.values_list(..., ↵Jon Dufresne
flat=True) followed by annotate(). Regression in 4dfd6b88d520b43b6363946e5ee58ba14cd1efe6. Backport of 3187c89d6f8c60ca7e78093d5b37e0709e71cea9 from master
2018-01-13[2.0.x] Fixed #29016 -- Fixed incorrect foreign key nullification on related ↵Étienne Loks
instance deletion. Backport of 9a621edf624a4eb1f1645fca628a9e432f0de776 from master
2018-01-10[2.0.x] Fixed a GeoIP2 test failure with the latest GeoIP2 database.Tim Graham
Backport of 66d74676e23c32bc676fb0706af8580b391953b6 from master
2017-12-27[2.0.x] Refs #28958 -- Added a test for ModelAdmin with query expressions in ↵Mariusz Felisiak
ordering. This provides additional test coverage but isn't a regression test for the ticket's issue. Backport of 1d00923848d504c6132019492b8d5a6cdf8261db from master
2017-12-27[2.0.x] Fixed #28958 -- Fixed admin changelist crash when using a query ↵Mariusz Felisiak
expression in the page's ordering. Thanks Tim Graham for the review. Backport of c8152137400b5932578cd1788b79560c9772e56b from master
2017-12-26[2.0.x] Fixed #28944 -- Fixed crash when chaining values()/values_list() ↵Ran Benita
after QuerySet.select_for_update(of=()). Backport of c21f158295d92e35caf96436bfdbbff554fc5569 from master
2017-12-23[2.0.x] Fixed #28594 -- Removed Jython docs and specific codeClaude Paroz
Thanks Andrey Martyanov for the report, and Tim Graham for the review. Backport of 23b21db31bfcf2a065d485617412cca43a311a4c from master.
2017-12-22[2.0.x] Fixed #28884 -- Fixed crash on SQLite when renaming a field in a ↵Simon Charette
model referenced by a ManyToManyField. Introspected database constraints instead of relying on _meta.related_objects to determine whether or not a table or a column is referenced on rename operations. This has the side effect of ignoring both db_constraint=False and virtual fields such as GenericRelation which aren't backend by database level constraints and thus shouldn't prevent the rename operations from being performed in a transaction. Regression in 095c1aaa898bed40568009db836aa8434f1b983d. Thanks Tim for the additional tests and edits, and Mariusz for the review. Backport of 9f7772e098439f9edea3d25ab127539fc514eeb2 from master
2017-12-20[2.0.x] Fixed #28947 -- Fixed crash when coercing a translatable URL pattern ↵Tilmann Becker
to str. Regression in df41b5a05d4e00e80e73afe629072e37873e767a. Backport of 01384ce36c3fddfbcc5af6e1108bdb8cd3e9389d from master
2017-12-20[2.0.x] Fixed #28941 -- Fixed crash in testserver command startup.Tim Graham
Regression in 2b09e4c88e96cb03b29f5a6b0e4838ab4271e631. Backport of e7b804c060a1f9fc089cf935801aa85b09db062b from master
2017-12-20[2.0.x] Refs #28932 -- Skipped the failing test for refs #28915 on Oracle.Tim Graham
2017-12-18[2.0.x] Fixed #25277 -- Restored test dependency to the original ↵Tim Graham
python-memcached. Backport of 770b9ea77fb5e39d616e62b54c06755e6d4f4d36 from master
2017-12-12[2.0.x] Fixed #28915 -- Prevented SQLite from truncating trailing zeros in ↵Sergey Fedoseev
the fractional part of DecimalField. This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds a test for the regression. Backport of 6fd6d8383f48ea2fe4e058725fa30529a083e9a5 from master
2017-12-12[2.0.x] Fixed #28898 -- Corrected admin check to allow a OneToOneField in ↵Rodrigo Pinheiro Marques de Araújo
ModelAdmin.autocomplete_fields. Backport of 30a389bd7795016d7f48bcda997e5dea5116f9bb from master
2017-12-12[2.0.x] Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.Sergey Fedoseev
Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188. Backport of da71e4bb086593b5ca76bf698358d27ead2cfed2 from master