1
0
mirror of https://github.com/django/django.git synced 2025-04-05 22:16:41 +00:00

25776 Commits

Author SHA1 Message Date
Damien
56f1a3529a [2.1.x] Clarified sentence about removal of inline flag support in url().
Backport of 7409d21a5ee7614db7276f06bfe412b24ff24059 from master
2018-06-19 09:14:36 -04:00
Tim Graham
037565fd64 [2.1.x] Bumped version for 2.1 beta 1. 2.1b1 2018-06-18 19:45:09 -04:00
Carlton Gibson
67fc680c43 [2.1.x] Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields.
Backport of 5b733171813f8ddc7af84abe79f2646204b9c6ca 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 958c7b301ead79974db8edd5b9c6588a10a28ae7 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 6dd4edb1b4f5441c5f543e29395039839c50d10b from master
2018-06-17 08:54:01 +02:00
Christian Ledermann
d28360aa48 [2.1.x] Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string.
Backport of 11bfe3a83d79c832bd861b6b87f254197fde1659 from master
2018-06-16 15:54:10 -04:00
oliver
d03b130cbc [2.1.x] Fixed #29469 -- Added a helpful makemigrations error if app_label contains dots.
Backport of 78972af367a1da54aa7e539e4b1ffa2b56571e77 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 553617e61324dd5d9b34c47ceb2b6f20888daf20 from master
2018-06-15 22:11:32 -04:00
Mariusz Felisiak
53be30f828 [2.1.x] Added backticks to code literals in docs/ref/databases.txt.
Backport of 4fb7bd834e97195633d44b27aa5e6f981709b626 from master
2018-06-15 21:54:04 -04:00
Tim Graham
7f173b6b4f [2.1.x] Fixed #29498 -- Fixed a missing pyc test file in source distribution.
Backport of 63f90f55f30d599d601d729060cdb0ebd2abdeb8 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 45ded053b1f4320284aa5dac63052f6d1baefea9.

Backport of fcc4e251dbc917118f73d7187ee2f4cbf3883f36 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 3eb9127678e292ef2645b632199f3e9c876ad999 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 ec2c9c353113bb1db6e32ed3f0b6c28bc06ca2eb 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 0d8e3e608ee9aab5076d497664aa97e0a29e523e 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 825f0beda804e48e9197fcf3b0d909f9f548aa47.

Backport of b30f9b131c9489b9d9f21c311ecb46d0aea91381 from master
2018-06-13 14:53:25 -04:00
nikolas
422a403565 [2.1.x] Doc'd how to set SPATIALITE_LIBRARY_PATH for Debian Buster/Ubuntu 18.04. 2018-06-13 10:05:03 -04:00
Brylie Christopher Oxley
4330d1047a [2.1.x] Updated GIS install instructions to use placeholders for GIS library versions.
Backport of ae26e0ad2c5ee2216d8eaaaac9d7c2c7644b6ebb from master
2018-06-12 15:22:38 -04:00
Jon Dufresne
a7cdf7aafc [2.1.x] Restored django.test.utils.patch_logger() for backwards compatibility.
Added back after 607970f31cc07c317f2ebb684c8f3ccc36a95b3e.

Backport of 8dcd43ce06b06cd67dab134099135d976ae9884a from master
2018-06-12 11:53:46 -04:00
Claude Paroz
add57c7e27 [2.1.x] Refs #29353 -- Removed duplicated logic in StaticFilesHandler.get_response().
Thanks Sergey Fursov for spotting the issue.

Backport of 1fac9740675b8dbea3952b58102a643c67e951e4 from master
2018-06-12 09:26:59 -04:00
Bartosz Grabski
c7d59825d7 [2.1.x] Fixed #29452 -- Fixed makemessages setting charset of .pot files.
Backport of 2bc014750adb093131f77e4c20bc17ba64b75cac 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 bc1435551c0cfaf4a22aff8216990b909005dba9 from master
2018-06-11 20:49:27 -04:00
Claude Paroz
020c51d501 [2.1.x] Prevented unexpected link in settings docs
Backport of e8531cc89c878b6a8867498dab266917fef2bff4 from master.
2018-06-10 15:12:44 +02:00
Tim Graham
bdc71f526f [2.1.x] Fixed 'invalid escape sequence' warning in GEOSGeometryBase.from_ewkt().
Backport of 7a266e25be1b641111ab5889f9808ff6d258d27f from master.
2018-06-09 09:28:11 +02: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 86988dd890671aa8935f86eab2bbe22ad917db70 from master.
2018-06-09 09:20:52 +02:00
Jeremy Lainé
36c35aba09 [2.1.x] Fixed #29440 -- Doc'd where the bulk argument applies in RelatedManager.
Backport of 741792961815cf4a95c5ce8ab590dfc7700c6153 from master
2018-06-08 16:40:44 -04:00
Mariusz Felisiak
9f67a205a2 [2.1.x] Fixed typo in docs/releases/2.0.7.txt.
Backport of e0d0fc0b14ccade00b30a7fbdb1c720ddd83bb71 from master
2018-06-08 12:07:49 +02:00
Carlton Gibson
91d8579580 [2.1.x] Added stub release notes for 2.0.6.
Backport of acae1206800a7997e5f95f7df8043452301fa241 from master
2018-06-08 08:43:51 +02:00
Claude Paroz
33b5313d7c [2.1.x] Fixed #29301 -- Added custom help formatter to BaseCommand class
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610.
Thanks Adam Johnson and Carlton Gibson for the reviews.
Backport of ce3351b9508896afdf87d11bd64fd6b5ad928228 from master.
2018-06-06 19:17:57 +02:00
Tim Graham
38bdac4752 [2.1.x] Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+.
Backport of e9bd1a3e12df132527a8d8bea95858e856ac7be4 from master
2018-06-06 11:50:02 -04:00
Tim Graham
60aa235f43 [2.1.x] Fixed MySQL QuerySet.explain() test when running tests in reverse.
Backport of 13fe5a87f9554a6371f1d0914887bffcdf978a8a from master
2018-06-06 11:31:39 -04:00
Michael Kiros
7434ac4624 [2.1.x] Fixed typo in docs/topics/auth/customizing.txt.
Backport of b37bac39b387bc87872d37d4b07783b67ef28d0c from master
2018-06-05 21:28:45 -04:00
Tim Graham
ae3ddce4e8 [2.1.x] Relaxed a GDAL raster test.
The exact metadata depends on the GDAL version.

Backport of 3dffcb5579a5a64f1869b9b46a379d519079d805 from master
2018-06-04 10:02:18 -04:00
Brenton Cleeland
3ff605b54b [2.1.x] Fixed #29374 -- Ordered date filter's format strings by category.
Backport of 3cf45af3630890ad85112f9ea8af869c8daef17b from master
2018-06-04 09:38:08 -04:00
Subhav Gautam
84afe81b9e [2.1.x] Fixed #29430 -- Clarified send_mail()'s fail_silently docs.
Backport of 085ebc5f1a0e96784516e551cb9225cc6836f1d0 from master
2018-06-02 11:10:02 -04:00
Tim Graham
cc8ef63211 [2.1.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.
Backport of 666be7b9942611d5c0f5e485c448f219cd5a1ad5 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 55f4eee75d41499995bfdb611ac89e80c87404eb 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 917cc288a38f3c114a5440f0749b7e5e1086eb36.

Backport of b18650a2634890aa758abae2f33875daa13a9ba3 from master
2018-06-01 11:00:13 -04:00
Carlton Gibson
97eec106ae [2.1.x] Added release date for 2.0.6 release.
Backport of e1ebd22558342bb0088a3da3571863a20413fa2a from master
2018-06-01 14:42:06 +02:00
Dr. Shubham Dipt
c334be805b [2.1.x] Corrected typo in outputting-csv.txt.
Backport of 44441d673bb39815dae1b14019357226c6a7c8ee from master
2018-06-01 14:42:06 +02:00
Tim Graham
67665e0979 [2.1.x] Fixed #29460 -- Added support for GEOS 3.6.
Backport of f185d929fa1c0caad8c03fccde899b647d7248c6 from master
2018-05-31 11:36:16 -04:00
Mariusz Felisiak
31b9cf97b9 [2.1.x] Refs #29416 -- Fixed GeoExpressionsTests.test_multiple_annotation() on MySQL 5.7+.
Failure introduced in b6e48f514ebe4e31b76e1750e043d4f296e645dc.

Backport of d0ad03cded64fc307b15668c81d0c65fd8486eff from master
2018-05-31 10:38:57 -04:00
Tim Graham
4ab47ceb1e [2.1.x] Added stub release notes for 1.11.14.
Backport of 8a6fcfdc77d84bd5cebf1e6a6dd65c64f9cb40b8 from master
2018-05-31 10:16:59 -04:00
Tim Graham
4ca64f2bd5 [2.1.x] Refs #28748 -- Reallowed lazy model field choices.
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986.

Backport of c03e41712b2274f524d32bc2aef455ed82c9e3b4 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 6104875a2cc797bbd1254aa61f22a9b03d652128 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 1d070d027c218285b66c0bde8079034b33a87f11.
Backport of 4ab1f559e8d1264bcb20bb497988973194f5d8f2 from master
2018-05-27 18:25:42 -04:00
Osaetin Daniel
158e7804e7 [2.1.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.
Backport of cd242d185bda9269913d4d101a7f704204ec907d from master
2018-05-27 16:50:47 -04:00
Ramiro Morales
c56d94c02a [2.1.x] Fixed #29417 -- Corrected two admin page titles for view-only users.
Backport of f40e71a957aa00b4572c19b269179cded6c8c500 from master
2018-05-27 16:38:26 -04:00
Daniel Hepper
13cb9d05a0 [2.1.x] Removed obsolete BaseHandler attributes.
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.

Backport of 4e016d137236d36d47462f63e8f7988f1ad6c12e from master
2018-05-27 13:45:22 -04:00
Daniel Hepper
4302911386 [2.1.x] Removed docs for obsolete ExceptionMiddleware.
Backport of a6fb5b1fe022c5279aa275c70b5193f2a2fac5fe from master
2018-05-27 13:23:29 -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 b3cffde5559c4fa97625512d7ec41a674be26076 due to
a regression and performance concerns.

Backport of 5cc81cd9eb69f5f7a711412c02039b435c393135 from master
2018-05-26 21:07:19 -04:00