1
0
mirror of https://github.com/django/django.git synced 2025-04-08 23:46:43 +00:00

25852 Commits

Author SHA1 Message Date
Mads Jensen
b505cef63d [2.1.x] Refs #26608 -- Removed incorrect sentence in Expression.contains_over_clause docs.
Backport of ab251fdad251cfb1e9fb61c42b5bfed9d0afe393 from master
2018-07-05 11:38:29 -04:00
Stephen James
d1d9db4ec6 [2.1.x] Fixed typo in docs/ref/templates/builtins.txt.
Backport of 48aeca44d885929106e71fe78379fe50850af001 from master
2018-07-04 13:15:54 -04:00
Greg Kaleka
82c38be11f [2.1.x] Doc'd that template variables & attributes may not start with an underscore.
Backport of 17403f0a9b7167c635514c1e3d9d25ebad4b12e2 from master
2018-07-03 20:17:06 -04:00
Tim Graham
ec0b74a1de [2.1.x] Added stub release notes for 2.0.8.
Backport of 2c3f19894695d6868a2c3ec5a6f097e432cc170e from master
2018-07-03 20:06:12 -04:00
Tim Graham
78f502cd0b [2.1.x] Fixed #29449 -- Reverted "Fixed #28757 -- Allowed using contrib.auth forms without installing contrib.auth."
This reverts commit 3333d935d2914cd80cf31f4803821ad5c0e2a51d due to
a crash if USERNAME_FIELD isn't a CharField.

Backport of f3fa86a89b3b85242f49b2b9acf58b5ea35acc1f from master
2018-07-02 18:57:12 -04:00
Carlton Gibson
fb05b94324 [2.1.x] Added release date for 1.11.14.
Backport of 65df375c40dfe591b258f36709123abc6957fbd7 from master
2018-07-02 10:14:01 +02:00
sedrubal
7bec414ffb [2.1.x] Fixed argument name for validators inheriting from BaseValidator.
Backport of f903669dfda1dda586c4fee5bd7268eb599880b8 from master
2018-06-30 18:58:56 -04:00
Colm O'Connor
e410dce696 [2.1.x] Fixed #21333 -- Doc'd the & and | queryset operators.
Backport of c530428d360daf904c9e98515ea836643a73a54c from master
2018-06-29 20:56:45 -04:00
Claude Paroz
58a0a84c38 [2.1.x] Fixed #29536 -- Fixed SelectFilter2.js resizing to make boxes have equal height.
Thanks Tim Graham for the review.
Backport of a5f139236f930df06ae0642507530ca98081e2a9 from master.
2018-06-29 17:23:16 +02:00
José L. Patiño
dfbfa3abed [2.1.x] Fixed #29535 -- Updated email.MIME* references for Python 3.
Backport of b5dd6ef3d52544ec7533509915c61545d5c3d85a from master
2018-06-29 08:24:44 -04:00
Mattia Cattarinussi
db287e99f6 [2.1.x] Refs #29513 -- Linked the testing docs from the multi-db topic guide.
Backport of 2a0116266c4d81bd1cc4e3ea20efe9a7874f481b from master
2018-06-28 20:54:23 -04:00
Jeffrey Yancey
ddd9272c2e [2.1.x] Fixed #29458 -- Doc'd how related_query_name affects Model._meta.get_field().
Backport of 2d6776ffe0b58f729f4372635b49a59da99ca206 from master
2018-06-28 20:02:21 -04:00
Tim Graham
c2d44ae6cb [2.1.x] Forwardported 2.0.7 release note. 2018-06-28 11:09:10 -04:00
Asif Saifuddin Auvi
7a007e967b [2.1.x] Refs #28814 -- Documented Python 3.7 compatibility.
Backport of 2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553 from master
2018-06-28 11:05:32 -04:00
Tim Graham
08c3581ca9 [2.1.x] Fixed links for i18n context processor docs.
Backport of fd06488fe36acc27fbe37bf7c9aefc0574e9cc4e from master
2018-06-28 10:26:13 -04:00
Tim Graham
92dafc10e7 [2.1.x] Fixed location of a few doc labels.
Backport of 1229687a0a261d05a72e6f189c1a9b0069b302e5 from master
2018-06-28 08:58:25 -04:00
Tim Graham
01b7fdfd67 [2.1.x] Fixed #29520 -- Fixed test client crash when posting bytes.
Regression in b8a41a2872624a6d9e61308932dd81d001e31eb9.

Backport of 9294110a57ce0a6d14506969c950090045c622c8 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 fdc936c9130cf4fb5d59869674b9a31cc79a7999.

Backport of f434f5b84f7fcea9a76a551621ecce70786e2899 from master
2018-06-27 11:46:24 -04:00
Tim Graham
d5482dfe20 [2.1.x] Refs #17419 -- Removed IE8 support in json_script example.
Backport of 02cd16a7a04529c726e5bb5a13d5979119f25c7d from master
2018-06-22 10:35:57 -04:00
Sergey Fedoseev
c1c1ac2044 [2.1.x] Added description, example, and SQL equivalents for equals and same_as GIS lookups.
Backport of 9af83a62e7639567afde8b76ce70e7982873e4c5 from master
2018-06-22 10:18:27 -04:00
Tim Graham
714612a638 [2.1.x] Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.
Backport of 7cdeb23ae7ef2d125276840ff298dbb9683959f2 from master
2018-06-22 09:32:33 +02:00
Adam Johnson
ea75f8abca [2.1.x] Updated a test example to use snake case.
Backport of ae38777698dd0bf2a9efefef778d5e92d36c8d12 from master
2018-06-21 17:37:19 -04:00
Sergey Fedoseev
afcf5aad7c [2.1.x] Refs #28841 -- Added ForcePolygonCW to GIS database functions table.
Backport of 12018cef83b2396131e8c32d997baa0f86b4bf00 from master
2018-06-21 08:59:22 -04:00
Tom
17017ba12a [2.1.x] Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.
Backport of 42490768441701bc02255b22df8e6894cbe487c7 from master
2018-06-20 10:58:01 -04:00
Carlton Gibson
dae75481fa [2.1.x] Refs #29451 -- Fixed invalid SQL on MySQL in queries tests.
Backport of c4f099de1d0d82c5e1f88768300896eae69bddbd 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 86eccdc8b67728d84440a46e5bf62c78f2eddf6d.

Backport of b0fbfae09334554124e1dccb7559d10f36e2f84c from master
2018-06-20 09:42:47 -04:00
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