Mariusz Felisiak
301bca9394
[3.0.x] Refs #31040 -- Doc'd Python 3.9 compatibility.
...
Backport of e18156b6c35908f2a4026287b5225a6a4da8af1a from master.
2020-10-13 08:40:39 +02:00
Kaustubh
db8b935730
[3.0.x] Fixed #31925 -- Fixed typo in docs/releases/3.0.txt.
...
Backport of 3e753d3de33469493b1f0947a2e0152c4000ed40 from master
2020-08-21 09:49:13 +02:00
Mariusz Felisiak
9ec6eca136
[3.0.x] Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2.
...
Support for sqlparse < 0.2.2 was broken in
40b0a58f5ff949fba1072627e4ad11ef98aa7f36 because is_whitespace property
was added in sqlparse 0.2.2.
Backport of 4339f2aff272bceabd67e452c65bcfe0700b3f09 from master
2020-06-10 06:54:51 +02:00
Adam Johnson
80e6639e22
[3.0.x] Fixed #31182 -- Adjusted release notes for ASGI support.
...
Backport of a6b3938afc0204093b5356ade2be30b461a698c5 from master
2020-02-20 15:06:37 +01:00
Adam Johnson
9b36348665
[3.0.x] Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.
...
Backport of de1924e0e7499535f05298c46d9983fd1640d4b4 from master
2020-02-05 12:46:42 +01:00
Simon Charette
a04e6fb355
[3.0.x] Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.
...
Backport of 9e14bc2135cb806b66374bac791c79344fff4ded from master
2019-12-30 08:30:49 +01:00
Hasan Ramezani
6cb30414bc
[3.0.x] Fixed #31069 , Refs #26431 -- Doc'd RegexPattern behavior change in passing optional named groups in Django 3.0.
...
Backport of 9736137cdc4b7528a0aca17415dc9798660eed81 from master
2019-12-12 14:49:13 +01:00
Hasan Ramezani
79c92fc7b6
[3.0.x] Fixed typos in 3.0 release notes and docs/ref/request-response.txt.
...
Backport of 52018e1615edfafcb5170ba6b473132fe2f9a534 from master
2019-12-12 10:19:38 +01:00
jsals1
7263c7710c
[3.0.x] Fixed typo in docs/releases/3.0.txt.
...
Backport of 1f62c008d1c983b4e5450a8764605aa6246e1cb4 from master
2019-12-05 07:55:56 +01:00
Mariusz Felisiak
cc64b1d8f3
[3.0.x] Fixed #31059 -- Fixed typo in docs/releases/3.0.txt.
...
Backport of 95ae1a9f8caf9c63c14c1a7c3e15594d3181b3ca from master
2019-12-04 09:25:00 +01:00
Carlton Gibson
f3da0836ff
[3.0.x] Finalized release notes for Django 3.0.
...
Backport of 3b347a8a00273e9cc2fd9d4a5c61569c08398769 from master
2019-12-02 11:55:06 +01:00
Carlton Gibson
46491e8095
[3.0.x] Added release dates for 2.1.15, 2.2.8 and 3.0.
...
Backport of e31d1852671866f6e52d55f9b7925ecad711fcf5 from master
2019-12-02 09:11:31 +01:00
Carlton Gibson
947f8e3485
[3.0.x] Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget."
...
This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b.
The initial issue was incorrect. Django 2.2, and before, did not
generate invalid HTML as reported. With f03821 in place invalid HTML
was generated.
Thanks to Kevin Brown for follow-up report and investigation.
Backport of ee4a19053a32d41cdd79e087b1968980804ce658 from master
2019-11-21 21:06:07 +01:00
Stephen Rauch
76d293f3e6
[3.0.x] Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
...
Support for sqlparse < 0.2.2 was broken in
782d85b6dfa191e67c0f1d572641d8236c79174c because is_whitespace property
was added in sqlparse 0.2.2.
Backport of 4b6db766ba4b613d317c87f87d1d63865b7424a4 from master
2019-11-06 09:01:48 +01:00
Claude Paroz
48c263df29
[3.0.x] Added Uzbek language.
...
Backport of 6ccb1b68bc22e4edc1562f0159e71631d6a256d9 from master
2019-11-04 15:18:53 +01:00
Mariusz Felisiak
0dede9e981
[3.0.x] Fixed typos in docs/releases/3.0.txt.
...
Backport of 2a6f45e08e8cb8c7e5157915c378b453109424d2 from master
2019-10-10 14:25:41 +02:00
Nick Pope
4d72c14baf
[3.0.x] Refs #27910 -- Improved documentation for model field choice enumeration types.
...
Backport of 1c66767d4e472fea27798812817b8a47c6ae22b3 from master
2019-09-13 15:38:27 +02:00
Carlton Gibson
1fa629cd8f
[3.0.x] Added PBKDF2 hasher iteration increase to 3.0 release notes.
...
Refs 06670015f7e55a8be8137dbd95b7f4c536c3782b
Backport of ea25bdc2b94466bb1563000bf81628dea4d80612 from master
2019-09-12 17:25:39 +02:00
Carlton Gibson
a624803514
Finalised release notes for 3.0 alpha release.
...
* Removed empty sections
* Corrected some typos and wrapping errors.
2019-09-10 09:58:42 +02:00
Vojtech Bocek
b1d37fea8f
Fixed #28107 -- Added DatabaseFeatures.allows_group_by_selected_pks_on_model() to allow enabling optimization for unmanaged models.
2019-09-09 14:04:46 +02:00
Nick Pope
406dba04e1
Fixed #29406 -- Added support for Referrer-Policy header.
...
Thanks to James Bennett for the initial implementation.
2019-09-09 13:35:41 +02:00
Nick Pope
1edbb6c194
Refs #30426 -- Moved release notes into separate security section.
2019-09-09 13:35:31 +02:00
Johannes Hoppe
7254f1138d
Refs #29444 -- Allowed returning multiple fields from INSERT statements on PostgreSQL.
...
Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and
Mariusz Felisiak for reviews.
2019-09-09 10:51:14 +02:00
Claude Paroz
05d0eca635
Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY.
2019-09-09 08:15:26 +02:00
Mariusz Felisiak
350123f38c
Moved release note for refs #30158 from deprecated to backwards incompatible changes.
2019-09-05 15:56:52 +02:00
Mariusz Felisiak
e2c6a0858d
Fixed #30750 -- Added support for check constraints on MySQL 8.0.16+.
2019-09-05 09:18:34 +02:00
Shai Berger
72ebe85a26
Fixed #27910 -- Added enumeration helpers for use in Field.choices.
...
These classes can serve as a base class for user enums, supporting
translatable human-readable names, or names automatically inferred
from the enum member name.
Additional properties make it easy to access the list of names, values
and display labels.
Thanks to the following for ideas and reviews:
Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger.
Co-authored-by: Shai Berger <shai@platonix.com>
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-09-04 14:42:49 +02:00
Nasir Hussain
25706d7285
Fixed #29714 -- Allowed using ExceptionReporter subclass with AdminEmailHandler.
2019-09-04 08:40:46 +02:00
Carlton Gibson
4f61810751
Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme().
2019-09-02 15:32:23 +02:00
yukihira1992
0545781764
Fixed #30736 -- Added Storage.get_alternative_name() to allow customization.
2019-08-30 11:32:19 +02:00
Berker Peksag
400ec5125e
Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods.
...
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2019-08-29 19:32:12 +02:00
Matthew Schinckel
4137fc2efc
Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().
...
This allows using expressions that have an output_field that is a
BooleanField to be used directly in a queryset filters, or in the
When() clauses of a Case() expression.
Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and
Adam Johnson for reviews.
Co-Authored-By: NyanKiyoshi <hello@vanille.bid>
2019-08-29 09:45:29 +02:00
Hasan Ramezani
03dbdfd9bb
Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS.
2019-08-26 14:48:40 +02:00
Dulmandakh
06372a8d27
Fixed #30507 -- Updated admin's jQuery to 3.4.1.
2019-08-23 11:00:16 +02:00
Mads Jensen
85ac838d9e
Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently operations for PostgreSQL.
...
Thanks to Simon Charettes for review.
Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2019-08-21 13:10:06 +02:00
Nick Pope
21e559495b
Fixed #29979 , Refs #17337 -- Extracted AutoField field logic into a mixin and refactored AutoFields.
...
This reduces duplication by allowing AutoField, BigAutoField and
SmallAutoField to inherit from IntegerField, BigIntegerField and
SmallIntegerField respectively. Doing so also allows for enabling the
max_length warning check and minimum/maximum value validation for auto
fields, as well as providing a mixin that can be used for other possible
future auto field types such as a theoretical UUIDAutoField.
2019-08-20 09:22:25 +02:00
Claude Paroz
d1c2e6dd04
Refs #28428 -- Made FileField.upload_to support pathlib.Path.
2019-08-18 20:34:58 +02:00
Claude Paroz
0468159763
Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True.
2019-08-18 13:17:49 +02:00
Adnan Umer
6805c0f99f
Fixed #30701 -- Updated patch_vary_headers() to handle an asterisk according to RFC 7231.
2019-08-16 15:25:42 +02:00
Claude Paroz
eed2e740f7
Fixed #30461 -- Made GeoIP2 and GEOIP_PATH setting accept pathlib.Path as library path.
...
Thanks Nikita Krokosh for the initial patch.
2019-08-13 19:44:10 +02:00
Andrew Godwin
052388aba4
Fixed #30676 -- Added --pdb option to test runner.
2019-08-07 08:16:31 +02:00
Nick Pope
194d1dfc18
Fixed #30661 -- Added models.SmallAutoField.
2019-08-02 11:39:01 +02:00
Étienne Beaulé
5f24e7158e
Fixed #30665 -- Added support for distinct argument to Avg() and Sum().
2019-07-31 11:22:50 +02:00
Nick Pope
f618e033ac
Fixed #30160 -- Added support for LZMA and XZ templates to startapp/startproject management commands.
2019-07-31 10:02:13 +02:00
Jon Dufresne
4122d9d3f1
Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when using attnames.
...
Regression in 519016e5f25d7c0a040015724f9920581551cab0.
2019-07-27 12:04:56 +02:00
Jon Dufresne
5ed20b3aa3
Fixed #30657 -- Allowed customizing Field's descriptors with a descriptor_class attribute.
...
Allows model fields to override the descriptor class used on the model
instance attribute.
2019-07-25 08:15:20 +02:00
Mads Jensen
a3417282ac
Fixed #29824 -- Added support for database exclusion constraints on PostgreSQL.
...
Thanks to Nick Pope and Mariusz Felisiak for review.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-07-16 18:04:41 +02:00
Mads Jensen
7174cf0b00
Refs #29824 -- Added RangeOperators helper class.
2019-07-16 16:57:46 +02:00
Johannes Hoppe
00d4e6f8b5
Updated Select2 to version 4.0.7.
2019-07-10 12:31:16 +02:00
can
febe136d4c
Fixed #30397 -- Added app_label/class interpolation for names of indexes and constraints.
2019-07-08 14:57:56 +02:00