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

25812 Commits

Author SHA1 Message Date
Maxime Lorant
223ba7fa57 [2.1.x] Removed duplicate words in docs.
Backport of 31407fa3b362dc17d61a2a0d7e27b1dfd9d9c143 from master
2018-07-18 11:27:17 -04:00
Tim Graham
dff5beabbf [2.1.x] Bumped version for 2.1 release candidate 1. 2.1rc1 2018-07-18 07:06:05 -04:00
François Freitag
a7ca8afbbe [2.1.x] Fixed django/http/request.py docstring typo.
Backport of 93e721a0b8155470336357c148c4d8364c36bbee from master
2018-07-16 14:44:21 +02:00
Tim Graham
50dc9fad74 [2.1.x] Fixed #29549 -- Doc'd that Field.choices are enforced by model validation.
Backport of 8b1d361f28c80cb0fa84a3714d711174bd25cdfa from master
2018-07-09 15:06:56 -04:00
Sergey Fedoseev
2a637a4523 [2.1.x] Refs #29478 -- Doc'd how to use cached_property with a mangled name.
Backport of 09199734d383691ecf6d163894b447ca45e0ef82 from master
2018-07-09 12:13:44 -04:00
Josh Schneier
0211393b8c [2.1.x] Fixed word choice in ContentFile example.
Backport of 38e904e26576abffed3c257a1a741e1641c6f2de from master
2018-07-07 17:20:32 -04:00
Harry Moreno
d10103a79d [2.1.x] Removed usage of 'object' variable name in docs.
Backport of 6e55cf0de6b5e8e853ce0d549b08e621f023d4bf from master
2018-07-07 17:20:25 -04:00
Tom
c7ac2ee773 [2.1.x] Refs #29451 -- Fixed test_isvalid_lookup on MySQL 8+.
Backport of f98e1c01eafa724cb87772ae03b3fd1158e9fd50 from master
2018-07-06 09:05:55 -04:00
Sergey Fedoseev
abec2ad18d [2.1.x] Corrected cached_property() signature in docs.
Backport of 82b9708c6f77d1a4b7b4236234065799370be245 from master
2018-07-06 08:56:30 -04:00
Michal Čihař
c1ac9c5ea3 [2.1.x] Fixed #29544 -- Fixed regex lookup on MariaDB.
Regression in 42490768441701bc02255b22df8e6894cbe487c7.
Backport of 39e287d8bff50e9f91f3f4471088c1946aa6a76c from master
2018-07-05 12:12:04 -04:00
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