Clément Mangin
d7615674d9
[2.1.x] Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
...
Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.
Backport of 64e1a271f50d921a54388539b6ff7102a31c3d29 from master
2018-08-10 11:32:52 -04:00
Tim Graham
42f194b858
[2.1.x] Refs #29652 -- Fixed typo in docs/releases/2.1.txt.
...
Backport of d0928d6454d0b649663820e45d915016a2d9b001 from master
2018-08-08 18:07:40 -04:00
Tim Graham
548a2d3c1f
[2.1.x] Fixed #29652 -- Doc'd removal of py-bcrypt compatibility.
...
Backport of 2fa36719a8fb39f2c2162f9e6430db00c6bc8412 from master
2018-08-08 18:02:02 -04:00
Tim Graham
e3be4e94d1
[2.1.x] Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message.
...
Backport of 730173d1c5cf210d8e3bd951fa49f64b9bc561ca from master
2018-08-08 06:38:27 -04:00
Mariusz Felisiak
2bf766cedc
[2.1.x] Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.
...
Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
Backport of 9fee229874367beafd532dad6d0f9ff9676ded0b from master
2018-08-08 08:52:55 +02:00
Claude Paroz
d46bf11979
[2.1.x] Refs #29374 -- Moved misplaced line in date format docs table
...
Backport of 93bd860710d9914cc077ee362d5f3647489ce5a5 from master.
2018-08-06 20:19:47 +02:00
Tim Graham
c2b28dfeec
[2.1.x] Consolidated docs about handling a ForeignKey in custom user model manager.
...
Backport of e9ea49d2740b6f99b4ecc424c1a9ed87905e481e from master
2018-08-06 12:42:19 -04:00
Tim Graham
37c0a33655
[2.1.x] Fixed #28540 -- Doc'd a change to file upload permissions in Django 1.11.
...
Behavior changed in f734e2d4b2fc4391a4d097b80357724815c1d414
(refs #27334 ).
Backport of 89d4d412404d31ef34ae3170c0c056eff55b2a17 from master
2018-08-04 11:06:11 -04:00
Carlton Gibson
1e8c68ff47
[2.1.x] Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist.
...
Backport of ef70af77ec53160d5ffa060c1bdf5ed93322d84f from master
2018-08-04 11:06:04 -04:00
Adam Johnson
4261ba6770
[2.1.x] Clarified the values accepted by ModelAdmin.fields.
...
Backport of 45086c294d63ac8787cebff2accd1680ac844138 from master
2018-08-03 16:50:01 -04:00
Tim Graham
1593a8386a
[2.1.x] Refs #28584 -- Documented removal of support for SQLite < 3.7.15.
...
Backport of 1160a975968f86953a6c4405b772eb86283c5a4a from master
2018-08-03 14:58:38 -04:00
Danilo Bargen
4f9641c9af
[2.1.x] Fixed #29633 -- Doc'd the geometry type for each model field.
...
Backport of 2e06ff8e141d347b6b2991891bbac01fba0396d0 from master
2018-08-03 10:39:25 -04:00
Mariusz Felisiak
c706091225
[2.1.x] Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists and the user can't create databases.
...
Regression in e776dd2db677d58dcb50aea20d3bb191537df25b.
Thanks Tim Graham for the review.
Backport of 1a9cbf41a130def83a7e384955544d08be0fc148 from master
2018-08-03 10:33:52 +02:00
Carlton Gibson
a004350193
[2.1.x] Refs #29593 , #26891 -- Doc'd RegisterLookupMixin.get_lookups().
...
Backport of a67ebcb1cbd37e1fc9eddd2da1dda7f319c5ac1d from master
2018-08-03 07:28:21 +02:00
Tim Graham
0cfca0f2cc
[2.1.x] Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values.
...
Regression in 7d96f0c49ab750799860e42716d7105e11de44de.
Backport of d8e2be459f97f1773c7edf7d37de180139146176 from master
2018-08-02 21:56:43 -04:00
Carlton Gibson
66c0c58cf2
[2.1.x] Fixed #29593 -- Added QUERY_TERMS removal to 2.1 release notes.
...
Removed in 244cc401559e924355cf943b6b8e66ccf2f6da3a.
Backport of 5180015051f262b73559bb55a8e3fe6f551f8b68 from master
2018-08-02 21:07:44 -04:00
Adam Johnson
2b19d198b1
[2.1.x] Removed out of place sentence in QuerySet.count() docs.
...
Backport of 2e3ba9f5927048655fffa620bbac4f8b048056a4 from master
2018-08-02 17:36:26 -04:00
Michael Sanders
221ef69a9b
[2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
...
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.
Backport of 271542dad1686c438f658aa6220982495db09797 from master
2018-08-02 17:17:12 -04:00
luz.paz
adfd261404
[2.1.x] Fixed typos in comments and docs.
...
Backport of 97e637a87fb45c4de970cca6cb783d93473c9d15 from master
2018-08-01 16:13:18 -04:00
Tim Graham
7da1e45dc5
[2.1.x] Added stub release notes for 2.1.1.
...
Backport of 25dd595742dd1d24c19421c25fe261036b3d0f8b from master
2018-08-01 11:14:25 -04:00
Tim Graham
3dc02de761
[2.1.x] Added CVE-2018-14574 to the security release archive.
...
Backport of 0006538e53bf11d1de26801b13b78807354de2c8 from master
2018-08-01 11:07:18 -04:00
Tim Graham
3f429e1955
[2.1.x] Post-release version bump.
2018-08-01 11:06:27 -04:00
Tim Graham
e7ad40fcf4
[2.1.x] Bumped version for 2.1 release.
2.1
2018-08-01 09:56:13 -04:00
Andreas Hug
c4e5ff7fdb
[2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware.
2018-08-01 09:35:09 -04:00
Tim Graham
b323425661
[2.1.x] Added stub release notes for security releases.
2018-08-01 09:35:09 -04:00
Claude Paroz
cbf7e7dc52
[2.1.x] Updated contrib translations from Transifex
2018-08-01 08:41:58 -04:00
Claude Paroz
734e2c65ae
[2.1.x] Updated core translations from Transifex
2018-08-01 08:41:58 -04:00
Adam Johnson
0d8f26f320
[2.1.x] Refs #24733 -- Documented arguments for custom error views.
...
Backport of 49f97b645fb1716cf69177558c41cf650a701eed from master
2018-07-31 21:09:36 -04:00
Tim Graham
5f62efb5c8
[2.1.x] Removed code terms from docs/spelling_wordlist.
...
Backport of b4fa94aed8ec5209176c9fa88aba3eacdca837f3 from master
2018-07-31 12:53:14 -04:00
Tim Graham
d77cbdcfa3
[2.1.x] Added words to docs/spelling_wordlist for Ubuntu 18.04.
...
Backport of 8edb27b6c6d5d9e4f3ad95a91254588616854d16 from master
2018-07-31 12:52:50 -04:00
Dražen Odobašić
4dadf4eb7b
[2.1.x] Fixed #29617 -- Fixed Template crash if template_string is lazy.
...
Regression in 3a148f958dddd97c1379081118c30fbede6b6bc4.
Backport of 9f3b9ffd51c71d96728df9ee16f5a57c6f3b315d from master
2018-07-31 09:57:28 -04:00
minusf
74d039e317
[2.1.x] Fixed typo in docs/topics/http/urls.txt.
...
Backport of 6429961418b0da70e915fcb61f4cf41977cf818a from master
2018-07-24 18:36:41 -04:00
Tim Graham
9cd6f9c1c5
[2.1.x] Fixed #29591 -- Fixed numbering words in docs/topics/db/examples/many_to_many.txt.
...
Backport of cef8f6a61bc8079fa36cb37a7d411b56869ffe32 from master
2018-07-24 16:05:10 -04:00
Carlton Gibson
278457988a
[2.1.x] Refs #29514 -- Added test for get_default_timezone()/timezone.utc equality.
...
Backport of f4ef71c689b7bf3b0237d12c634fe5557f646a79 from master
2018-07-23 10:44:25 -04:00
Tim Graham
3a6040246f
[2.1.x] Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for better performance."
...
This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a
regression.
Backport of 2ec151e35da93047acfeea1b79c27010f2cb8594 from master
2018-07-23 10:44:06 -04:00
Claude Paroz
1084bcc4b7
[2.1.x] Fixed #29578 -- Made numberformat.format() honor forced l10n usage.
...
Thanks Sassan Haradji for the report.
Backport of 0adfba968e28cfb4e4d681e658866debbbd68089 from master
2018-07-19 16:44:57 -04:00
Tim Graham
3153cb319d
[2.1.x] Fixed IntegrityError in docs/topics/db/examples/many_to_one.txt.
...
Backport of 6b6bdfe25c946ee9512b3866d64930fe1be619fd from master
2018-07-19 15:49:54 -04:00
Claude Paroz
e9950ed897
[2.1.x] Fixed utils.html.escape()'s docs with regards to string coercion.
...
As of 301de774c21d055e9e5a7073e5bffdb52bc71079.
Backport of 1ed8527e3df930ae54ef237e77f1a53faa0ff5ed from master
2018-07-18 14:20:17 -04:00
Mariusz Felisiak
16fdcf67c8
[2.1.x] Removed duplicate words in various comments.
...
Backport of a73cf8110e6cccbf46bf77fd4ddce2df99df53ca from master
2018-07-18 11:56:57 -04:00
Claude Paroz
430b8254a7
[2.1.x] Added doc links for django.utils.html.escape().
...
Backport of 6e78e1054933c36a2e0fdf998db780c88bdef4a9 from master
2018-07-18 11:35:39 -04:00
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