Commit graph

25844 commits

Author SHA1 Message Date
Carlton Gibson
1e8c68ff47 [2.1.x] Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist.
Backport of ef70af77ec 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 45086c294d 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 1160a97596 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 2e06ff8e14 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 e776dd2db6.

Thanks Tim Graham for the review.
Backport of 1a9cbf41a1 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 a67ebcb1cb 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 7d96f0c49a.
Backport of d8e2be459f 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 244cc40155.

Backport of 5180015051 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 2e3ba9f592 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 271542dad1 from master
2018-08-02 17:17:12 -04:00
luz.paz
adfd261404 [2.1.x] Fixed typos in comments and docs.
Backport of 97e637a87f 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 25dd595742 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 0006538e53 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. 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 49f97b645f 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 b4fa94aed8 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 8edb27b6c6 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 3a148f958d.
Backport of 9f3b9ffd51 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 6429961418 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 cef8f6a61b 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 f4ef71c689 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 27ca5ce19f due to a
regression.

Backport of 2ec151e35d 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 0adfba968e 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 6b6bdfe25c 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 301de774c2.
Backport of 1ed8527e3d from master
2018-07-18 14:20:17 -04:00
Mariusz Felisiak
16fdcf67c8 [2.1.x] Removed duplicate words in various comments.
Backport of a73cf8110e 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 6e78e10549 from master
2018-07-18 11:35:39 -04:00
Maxime Lorant
223ba7fa57 [2.1.x] Removed duplicate words in docs.
Backport of 31407fa3b3 from master
2018-07-18 11:27:17 -04:00
Tim Graham
dff5beabbf [2.1.x] Bumped version for 2.1 release candidate 1. 2018-07-18 07:06:05 -04:00
François Freitag
a7ca8afbbe [2.1.x] Fixed django/http/request.py docstring typo.
Backport of 93e721a0b8 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 8b1d361f28 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 09199734d3 from master
2018-07-09 12:13:44 -04:00
Josh Schneier
0211393b8c [2.1.x] Fixed word choice in ContentFile example.
Backport of 38e904e265 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 6e55cf0de6 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 f98e1c01ea from master
2018-07-06 09:05:55 -04:00
Sergey Fedoseev
abec2ad18d [2.1.x] Corrected cached_property() signature in docs.
Backport of 82b9708c6f 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 4249076844.
Backport of 39e287d8bf 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 ab251fdad2 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 48aeca44d8 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 17403f0a9b 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 2c3f198946 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 3333d935d2 due to
a crash if USERNAME_FIELD isn't a CharField.

Backport of f3fa86a89b 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 65df375c40 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 f903669dfd 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 c530428d36 from master
2018-06-29 20:56:45 -04:00