Commit Graph

10468 Commits

Author SHA1 Message Date
Mariusz Felisiak 1033a8e7bc [2.0.x] Fixed typo in docs/releases/2.0.7.txt.
Backport of e0d0fc0b14 from master
2018-06-08 12:09:14 +02:00
Carlton Gibson 7f163aac3a [2.0.x] Added stub release notes for 2.0.6.
Backport of acae120680 from master
2018-06-08 08:44:29 +02:00
Michael Kiros e072060203 [2.0.x] Fixed typo in docs/topics/auth/customizing.txt.
Backport of b37bac39b3 from master
2018-06-05 21:28:57 -04:00
Adam Donaghy 22c7c2db1d [2.0.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
Regression in 917cc288a3.

Backport of b18650a263 from master
2018-06-01 11:00:34 -04:00
Carlton Gibson b935f112e1 [2.0.x] Added release date for 2.0.6 release.
Backport of e1ebd22558 from master
2018-06-01 12:16:49 +02:00
Dr. Shubham Dipt e9d09f1f0e [2.0.x] Corrected typo in outputting-csv.txt.
Backport of 44441d673b from master
2018-06-01 12:09:24 +02:00
Tim Graham ceeccc51d2 [2.0.x] Fixed #29460 -- Added support for GEOS 3.6.
Backport of f185d929fa from master
2018-05-31 11:36:43 -04:00
Tim Graham 904adcc034 [2.0.x] Added stub release notes for 1.11.14.
Backport of 8a6fcfdc77 from master
2018-05-31 10:17:16 -04:00
Mariusz Felisiak 74bbef4ee0 [2.0.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:59:35 -04:00
Osaetin Daniel 66b834e73f [2.0.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.
Backport of cd242d185b from master
2018-05-27 16:51:30 -04:00
Daniel Hepper a5c5e51aa9 [2.0.x] Removed docs for obsolete ExceptionMiddleware.
Backport of a6fb5b1fe0 from master
2018-05-27 13:29:44 -04:00
Xaroth Brook 1adac352d3 [2.0.x] Fixed #29415 -- Fixed detection of custom URL converters in included patterns.
Backport of 39283c8edb from master
2018-05-26 20:52:48 -04:00
Ian Foote 0b1744b66c Fix typo in 2.0 release notes (#9986)
Backport of 257fb0a7d0 from master.
2018-05-26 16:17:50 +02:00
Ryan Rubin c2a1af883e [2.0.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:22:06 -04:00
Mariusz Felisiak 80a53202d4
[2.0.x] Alphabetized imports in various docs.
Follow-up of d97cce3409 and 7d3fe36c62.
Backport of 35319bf12c from master
2018-05-12 19:41:40 +02:00
Hasan Ramezani 840c0ed13d [2.0.x] Alphabetized imports in docs/ref/contrib/postgres/fields.txt.
Backport of 7d3fe36c62 from master
2018-05-07 09:40:02 -04:00
Kelly Hogan 02114f9c49 [2.0.x] Fixed #29351 -- Doc'd that ModelAdmin.prepopulated_fields removes stop words.
Backport of 9e86185936 from master
2018-05-02 21:32:39 -04:00
CHI Cheng 482ba9246e [2.0.x] Fixed #29375 -- Removed empty action attribute on HTML forms.
Backport of 4660ce5a69 from master
2018-05-02 09:35:26 -04:00
Tim Graham 3003830008 [2.0.x] Added stub release notes for 2.0.6.
Backport of c02953ebbc from master
2018-05-01 22:15:06 -04:00
Tim Graham 3a3b246175 [2.0.x] Added release date for 2.0.5 and 1.11.13.
Backport of 6e6efc6c39 from master
2018-05-01 21:20:32 -04:00
Srinivas Reddy Thatiparthy 670ebccfef [2.0.x] Fixed #29360 -- Removed Fabric examples in docs.
Backport of d0b04c6308 from master
2018-04-29 22:26:06 -04:00
PhrydRhys 4329bd7a8c [2.0.x] Fixed #29369 -- Mentioned the #django-dev IRC channel in contributing index.
Backport of 5d022eae74 from master
2018-04-28 21:02:00 -04:00
Stefan R. Filipek 9f2586b964 [2.0.x] Fixed #29349 -- Doc'd the default behavior of router.allow_relation().
Backport of 9ec77f3d66 from master
2018-04-23 11:45:09 -04:00
adamth f1435bf680 [2.0.x] Fixed typos in docs/topics/auth/passwords.txt.
Backport of acf9d64045 from master
2018-04-23 07:37:42 -04:00
drd0013 f3e1e6d601 [2.0.x] Fixed #29313 -- Doc'd how to use F() to sort null values.
Backport of 5d923f2d8c from master
2018-04-19 20:08:07 -04:00
Nick Pope 61fc315230 [2.0.x] Fixed #29212 -- Doc'd redirect loop if @permission_required used with redirect_authenticated_user.
Backport of df90e462d9 from master
2018-04-19 11:07:53 -04:00
Tim Graham 0d2ec8db48 [2.0.x] Fixed #29174, #29175 -- Doc'd that f-strings and JavaScript template strings can't be translated.
Backport of c3437f734d from master
2018-04-18 14:35:50 +02:00
Brett Cannon b98fa241dd [2.0.x] Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.
Backport of 64b74804c5 from master
2018-04-17 20:56:33 -04:00
Mariusz Felisiak 3619d32209
[2.0.x] Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection().
Regression in a0c03c62a8.

Thanks Tim Graham and Carlton Gibson for reviews.
Backport of 0b66c3b442 from master
2018-04-13 12:27:00 +02:00
Paul Donohue 1ed31efb87 [2.0.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.
Backport of 33a0b7ac81 from master
2018-04-12 13:11:53 -04:00
Jeremy Bowman d5018abf1c [2.0.x] Fixed #29193 -- Prevented unnecessary foreign key drops when 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 c3e0adcad8.

Backport of ee17bb8a67 from master
2018-04-11 23:17:37 -04:00
Luoxzhg f395b7653d [2.0.x] Fixed typo in docs/topics/db/managers.txt.
Backport of 99539ca319 from master
2018-04-11 22:26:51 -04:00
Tim Graham 2e7b1e3297 [2.0.x] Refs #28062 -- Doc'd PostgreSQL server-side cursors as a backwards incompatible change.
Backport of 2919a08c20 from master
2018-04-10 13:27:06 -04:00
Luoxzhg 7e5a72dde4 [2.0.x] Fixed mistakes in docs/topics/db/examples/many_to_one.txt.
Backport of 9d7e2c7b44 from master
2018-04-10 12:29:48 -04:00
Alasdair Nicol 0eb71b85bf [2.0.x] Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.
Thanks erindy for the report.

Backport of 65c44a5c1d from master
2018-04-10 09:58:40 -04:00
Tim Graham f185a1fca0 [2.0.x] Updated intersphinx_mapping URL for sphinx.
Backport of cf8fc47974 from master
2018-04-04 11:43:57 -04:00
Windson yang a390cc7109 [2.0.x] Fixed #29278 -- Doc'd that a context manager can't be used with FileResponse.
Backport of 4fe5d84666 from master
2018-04-04 10:19:12 -04:00
Tim Graham e2b7ad4357 [2.0.x] Added stub release notes for 1.11.13.
Backport of b2678468ae from master
2018-04-04 09:46:54 -04:00
Daniel Roseman 18eaf0997b [2.0.x] Fixed reference to nonexistent __between lookup.
Backport of e6c21217d3 from master
2018-04-04 09:43:51 -04:00
Tim Graham 36b399d6b3 [2.0.x] Added stub release notes for 2.0.5.
Backport of 87639adcd1 from master
2018-04-02 23:05:58 -04:00
Tim Graham 90b0de1588 [2.0.x] Added release date for 2.0.4 and 1.11.12.
Backport of 597aba6d67 from master
2018-04-02 21:37:35 -04:00
Claude Paroz 357a48368a [2.0.x] Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget map's SRID.
Regression in 6ecccad711.

Backport of 2a2ed0e70a from master
2018-04-02 10:31:39 -04:00
Tim Graham ddc13926e1 [2.0.x] Fixed typo in docs/releases/2.0.4/1.11.12.txt.
Backport of 09c6d01461 from master
2018-04-02 09:38:28 -04:00
Claude Paroz 160829d35b [2.0.x] Fixed #29273 -- Prevented initial selection of empty choice in multiple choice widgets.
Regression in b52c73008a.

Backport of f3b69f9757 from master.
2018-04-02 09:17:38 -04:00
Wim Feijen 327882a245 [2.0.x] Clarified a sentence in docs/topics/i18n/translation.txt.
Backport of 058f607518 from master
2018-03-31 19:34:07 -04:00
Tim Graham 7b1a7d8989 [2.0.x] Fixed links to Sphinx docs.
Backport of 73cb62a331 from master
2018-03-30 14:59:57 -04:00
Tim Graham a3007ecf35 [2.0.x] Fixed #29265 -- Removed the suggestion to hardcode static URLs.
Backport of ba5f24ea64 from master
2018-03-28 12:35:21 -04:00
AK 9fc5a1fa0c [2.0.x] Added a pagination example to ListView docs.
Backport of 3990d74018 from master
2018-03-26 12:41:30 -04:00
Graham Ullrich 0118a2113d [2.0.x] Fixed #29250 -- Added 'django_version' context to startapp/project docs.
Backport of ee7f51c66d from master
2018-03-22 21:36:43 -04:00
Melissa Lewis ba483c346b [2.0.x] isorted import statements in tutorial example.
Backport of d97cce3409 from master
2018-03-22 14:03:59 +01:00
Tim Graham 43348e4aa1 Reverted "[2.0.x] Expanded docs for AbstractBaseUser.has_usable_password()."
This reverts commit c2962d8147. After discussion
in refs #28718, the decision is to treat the reverted statements as bugs.
2018-03-21 20:05:22 -04:00
Alasdair Nicol 7f7bb1d1f4 [2.0.x] Clarified docs about ISO 8601 week numbering.
Backport of 0c100f8b57 from master
2018-03-21 20:01:00 -04:00
Jezeniel Zapanta 83362cb94a [2.0.x] Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().
Backport of abe6c5defe from master
2018-03-20 21:42:53 -04:00
Tim Graham 0cae6069dc [2.0.x] Fixed typo in docs/releases/2.0.4.txt. 2018-03-20 20:49:09 -04:00
Denis 50fd5f5774 [2.0.x] Refs #11278 -- Clarified RelatedManager differences between reverse one-to-many and many-to-many relations.
Backport of 1834490a0c from master
2018-03-20 20:44:08 -04:00
Amr Anwar 9123fd75ca [2.0.x] Fixed #29229 -- Fixed column mismatch crash when combining two annotated values_list() querysets with union(), difference(), or intersection().
Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e.

Backport of a0c03c62a8 from master
2018-03-19 21:05:59 -04:00
Tim Graham 80cd6fd55a [2.0.x] Added stub release notes for 1.11.12.
Backport of 8d67c7cffd from master
2018-03-19 09:53:44 -04:00
Mattia Procopio 72667bc6ee [2.0.x] Fixed #29206 -- Fixed PasswordResetConfirmView crash when the URL contains a non-UUID where one is expected.
Backport of aeb8c38178 from master
2018-03-15 21:42:47 -04:00
Artem Tabolin 9bf8664bfd [2.0.x] Fixed #29221 -- Corrected admin's autocomplete widget to add a space after custom classes.
Backport of a2f7433adc from master
2018-03-15 10:56:06 -04:00
ovalseven8 24066cc430 [2.0.x] Fixed #29192 -- Corrected docs regarding overriding fields from abstract base classes.
Backport of 22bcd3a1d8 from master
2018-03-13 13:55:57 -04:00
dzhuang 59f39ccad8 [2.0.x] Fixed #29213 -- Fixed autocomplete widget's translations for zh-hans/zh-hant.
Backport of e17088a108 from master
2018-03-13 11:09:31 -04:00
Daniel Musketa 172e5132ba [2.0.x] Fixed a couple mistakes in docs/ref/forms/widgets.txt.
Backport of e0eab28f9f from master
2018-03-12 09:40:48 -04:00
Simon Charette 0fd21febe7 [2.0.x] Fixed #29195 -- Fixed Exists.output_field resolution on 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 08654a99bb.

Thanks Oli Warner for the detailed report.

Backport of 277ed07209 from master
2018-03-08 14:06:10 -05:00
Tim Graham 8d3bd724ab [2.0.x] Fixed #29165 -- Clarified how to load initial data with migrations.
Backport of fd9398816e from master
2018-03-08 10:58:35 -05:00
Richard Oyudo 564847fc1f [2.0.x] Fixed #28655 -- Added more examples for customizing widgets in a form.
Backport of 8411e4a8fe from master
2018-03-07 16:59:15 -05:00
Tim Graham e537bf86f0 [2.0.x] Added stub release notes for 2.0.4.
Backport of f0d6f01fbe from master
2018-03-06 13:26:24 -05:00
Tim Graham 7636aca677 [2.0.x] Added CVE-2018-7536,7 to the security release archive.
Backport of 5bbbdd26d1 from master
2018-03-06 13:04:28 -05:00
Tim Graham 94c5da1d17 [2.0.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in django.utils.text.Truncator.
Thanks James Davis for suggesting the fix.
2018-03-06 08:52:23 -05:00
Tim Graham e157315da3 [2.0.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize and urlizetrunc template filters.
Thanks Florian Apolloner for assisting with the patch.
2018-03-06 08:52:23 -05:00
Tim Graham 2da0064476 [2.0.x] Added stub release notes for security releases. 2018-03-06 08:52:15 -05:00
jblang94 99a6a6b176 [2.0.x] Improved clarity of docs/topics/install.txt.
Backport of 84398897a7 from master
2018-03-05 10:36:26 -05:00
Daniel Hahler da71f2ca92 [2.0.x] Fixed typo in docs/topics/forms/media.txt.
Backport of 939e0a5995 from master
2018-03-02 14:48:02 -05:00
Christophe Mehay e91ff6e29c [2.0.x] Fixed #29176 -- Fixed AbstractBaseUser.normalize_username() crash if username isn't a string.
Backport of 40bac28faa from master
2018-03-02 11:48:43 -05:00
Tomáš Ehrlich 3cdc88ba53 [2.0.x] Fixed #29172 -- Fixed crash with Window expression in a subquery.
Backport of fa352626c2 from master
2018-03-01 10:51:54 -05:00
Claude Paroz 2126e9317e [2.0.x] Updated translations from Transifex 2018-02-28 20:05:45 +01:00
Mariusz Felisiak 10a20e4b37
[2.0.x] Fixed #29166 -- Fixed crash in When() expression with a list argument.
Thanks Matthew Pava for the report and Tim Graham and Carlton Gibson for
reviews.
Regression in 19b2dfd1bf.

Backport of 54f80430be from master
2018-02-28 18:10:58 +01:00
René Fleschenberg c50b9c33f0 [2.0.x] Fixed incorrect regex in re_path() example.
Backport of 6e52e2554d from master
2018-02-26 20:00:29 -05:00
Jon Dufresne 484d2a6894 [2.0.x] Added backticks around obj argument in admin docs.
Backport of f5c6fc045a from master
2018-02-22 11:15:27 -05:00
Roger Erens 35cbb0baf4 [2.0.x] Used a CSS positioning in tutorial 6 that doesn't differ across browsers.
Otherwise in Firefox, the <html> and <body> elements take just as much height
is needed for the content and so the image doesn't appear at the bottom of the
window.

Backport of a94fd8a8d9 from master
2018-02-21 12:07:41 -05:00
Seohong Park ea0dc5df09 [2.0.x] Fixed #29146 -- Readded ^ and $ inadvertently removed from re_path() examples.
Backport of 9716860596 from master
2018-02-20 21:31:52 -05:00
Tim Graham 4b8e433e1c [2.0.x] Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manually specified pks.
Backport of e917ea6bec from master
2018-02-15 13:41:33 -05:00
Tim Graham aeb35548dc [2.0.x] Fixed #29125 -- Made Q.deconstruct() deterministic with multiple keyword arguments.
Backport of b95c49c954 from master
2018-02-12 20:47:51 -05:00
Carlton Gibson 0edcc723e7 [2.0.x] Fixed #24270 -- Doc'd that django_bash_completion is only in the source distribution.
Backport of 43b148f41f from master
2018-02-12 09:43:20 -05:00
Tim Graham 906b42c121 [2.0.x] Corrected doc'd type of some parameters from string to str.
Backport of d63c00a428 from master
2018-02-12 09:37:57 -05:00
Raphael Gaschignard 9b5ba2168c [2.0.x] Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)).
Backport of bf26f66029 from master
2018-02-10 19:00:37 -05:00
Manatsawin Hanmongkolchai a1286b5a64 [2.0.x] Fixed #29109 -- Fixed the admin time picker widget for the Thai locale.
Backport of 1a1264f149 from master
2018-02-10 16:06:03 -05:00
Tim Graham 29dd7dcdfd [2.0.x] Fixed #29107 -- Doc'd that ModelForm doesn't actually inherit from Form.
Backport of ff61a25081 from master
2018-02-08 10:10:47 -05:00
Simon Charette 8d03356d35 [2.0.x] Fixed #29108 -- Fixed crash in aggregation of distinct+ordered+sliced querysets.
Regression in 4acae21846.
Thanks Stephen Brooks for the report.

Backport of d61fe24601 from master
2018-02-08 10:00:12 -05:00
Sergey Fedoseev 781a337242 [2.0.x] Fixed typo in bulk_create() documentation.
Backport of 01bfa9219b from master
2018-02-08 11:37:11 +01:00
Simon Charette 58ad942736 [2.0.x] Added stub release notes for 2.0.3.
Backport of 7515e1f3fc from master
2018-02-05 10:13:07 -05:00
Tim Graham ab505a272f [2.0.x] Added CVE-2018-6188 to the security release archive.
Backport of 66119ed642 from master
2018-02-01 10:16:35 -05:00
Tim Graham c37bb28677 [2.0.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.
Reverted 359370a8b8 (refs #28645).

This is a security fix.
2018-02-01 09:13:59 -05:00
Tim Graham 1bd45e2458 [2.0.x] Fixed #29094 -- Fixed crash when entering an invalid uuid in ModelAdmin.raw_id_fields.
Regression in 2f9861d823.

Thanks Carel Burger for the report and fix.

Backport of 552abffab1 from master
2018-02-01 08:46:13 -05:00
Rodrigo 6cbb9b4096 [2.0.x] Disambiguated "settings" in SpatiaLite note.
Backport of 4fe0e619e7 from master
2018-01-31 12:40:51 -05:00
Rodrigo 7ea392a974 [2.0.x] Doc'd specifying the ENGINE setting as part of configuring contrib.gis.
Backport of 9817add9e0 from master
2018-01-31 12:09:43 -05:00
Rodrigo 7c62f497da [2.0.x] Fixed location of spatialite_source label.
Backport of 7c5cf33127 from master
2018-01-31 11:28:25 -05:00
Tim Graham 4e891a39b7 [2.0.x] Renamed the "Supported versions" label.
Backport of 4775dcb521 from master
2018-01-31 10:18:15 -05:00
Tim Graham 834843ca4f [2.0.x] Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py.
Regression in aadd3aeb2b.

Backport of 0a37ea56d0 from master
2018-01-31 09:37:07 -05:00
Tim Graham 55e16f25e9 [2.0.x] Fixed #29071 -- Fixed contrib.auth.authenticate() crash if a backend doesn't accept a request but a later one does.
Regression in a3ba2662cd.
2018-01-31 08:34:11 -05:00
Tim Graham ddc49820f7 [2.0.x] Refs #29086 -- Doc'd how to detect bytestring mistakes.
Backport of c10cb9716f from master
2018-01-30 19:58:43 -05:00