Hasan Ramezani
0dc39ca867
[3.0.x] Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.
...
Regression in 440505cb2c
.
Backport of 95a11578ce
from master
2019-09-27 14:52:08 +02:00
Hasan Ramezani
da8f85aa82
[3.0.x] Refs #30798 -- Prevented chaining fields from the same related model multiple times in model Meta.ordering.
...
Backport of c7944628a1
from master
2019-09-27 14:52:02 +02:00
Glenn
311177d5d1
[3.0.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
...
Backport of c2678e4975
from master
2019-09-27 09:56:06 +02:00
Pablo García
49dcb5d3ba
[3.0.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
...
client_timeout is an instance attribute.
Backport of 2fd610eb30
from master
2019-09-27 08:35:55 +02:00
Mariusz Felisiak
1adf85d168
[3.0.x] Fixed #30800 -- Fixed migrations crash when altering a field with custom db_type().
...
Regression in 1378d665a1
.
Backport of 580e644f24
from master
2019-09-25 12:32:57 +02:00
Adam Johnson
f4b7acedbf
[3.0.x] Documented admonition on when to use custom signals
...
Thanks Cesar Canassa for the suggestion and Aymeric Augustin for review.
Backport of 566fca14b3
from master
2019-09-25 10:39:55 +01:00
Mariusz Felisiak
fcaaff9862
[3.0.x] Refs #27910 -- Doc'd support for enumeration types serialization in migrations.
...
Backport of aad46ee274
from master
2019-09-24 13:55:19 +02:00
Mariusz Felisiak
0098f26fdd
[3.0.x] Refs #30350 -- Doc'd support for range serialization in migrations.
...
Backport of bc46e386c7
from master
2019-09-24 13:55:12 +02:00
Ryan Nowakowski
525c7e2afe
[3.0.x] Updated the default cache key transformation in documentation.
...
Follow up to 6c69de80bd
.
Backport of 3f141719a1
from master
2019-09-24 12:43:17 +02:00
Claude Paroz
1319124aa9
[3.0.x] Refs #26601 -- Used new-style middlewares in documentation.
...
Backport of d71497bb24
from master
2019-09-24 09:59:06 +02:00
Simon Charette
6b7bd079a6
[3.0.x] Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining.
...
Thanks Darren Maki for the report.
Backport of 37f8f29377
from master
2019-09-24 09:47:21 +02:00
Jezeniel Zapanta
9510af35fc
[3.0.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
...
Backport of e8ad265ac8
from master
2019-09-24 08:43:55 +02:00
Hasan Ramezani
2362f27265
[3.0.x] Fixed #13296 -- Fixed ordering by Options.order_with_respect_to after deleting objects.
...
Thanks Simon Meers for the original patch.
Backport of f97bbad908
from master
2019-09-23 11:45:33 +02:00
Mariusz Felisiak
368832e803
[3.0.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
...
Backport of 343afa7880
from master
2019-09-23 08:44:15 +02:00
Mariusz Felisiak
1611906094
[3.0.x] Refs #30771 -- Fixed RemovedInDjango31Warning in test_exact_query_rhs_with_selected_columns.
2019-09-20 22:01:28 +02:00
James Timmins
3697ddbf75
[3.0.x] Fixed #30771 -- Fixed exact lookup against queries with selected columns.
...
Use pre-existing select fields (and thereby GROUP BY fields) from
subquery if they were specified, instead of always defaulting to pk.
Thanks Aur Saraf for the report and Simon Charette for guidance.
Backport of 0719edcd5f
from master
2019-09-20 11:14:39 +02:00
Andrew
def1857d9b
[3.0.x] Fixed #30786 -- Used CONVERT_TZ to check if the time zone definitions are installed on MySQL.
...
Replaced a timezone check in the MySQL backend with one that doesn't
require access to the mysql.time_zone database.
Backport of 3346b78a8a
from master
2019-09-20 08:57:13 +02:00
Carlton Gibson
e4dc1b8cac
[3.0.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
...
Thank you to Mariusz Felisiak for review.
Backport of bae05bcf68
from master
2019-09-19 11:40:47 +02:00
Sam Reynolds
e74ca0226a
[3.0.x] Fixed #30776 -- Restored max length validation on AuthenticationForm.UsernameField.
...
Regression in 5ceaf14686
.
Thanks gopackgo90 for the report and Mariusz Felisiak for tests.
Backport of 6c9778a58e
from master
2019-09-18 12:04:47 +02:00
Min ho Kim
6c761a25fb
[3.0.x] Fixed #30725 -- Fixed width of DateTimeField inputs in admin tabular inline.
...
"width" of DateTimeField inputs in admin tabular inline wasn't set
correctly what caused displaying too small inputs with responsive CSS
when timezone warning wasn't present.
Backport of b1d6b35e14
from master
2019-09-17 14:34:14 +02:00
Nasir Hussain
685d956764
[3.0.x] Fixed #30758 -- Made RangeFields use multiple hidden inputs for initial data.
...
Backport of faf4b988fe
from master.
2019-09-17 12:21:02 +02:00
Katie McLaughlin
14125bb039
[3.0.x] Fixed #30775 -- Added admonition about missing imports to "Running tests" section in tutorial 5.
...
Backport of 44077985f5
from master
2019-09-16 10:03:51 +02:00
Simon Charette
574154ef56
[3.0.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
...
This was a regression introduced by 7deeabc7c7
to address CVE-2019-14234.
Thanks Tim Kleinschmidt for the report and Mariusz for the tests.
Backport of 6c3dfba892
from master
2019-09-16 08:53:02 +02:00
Mariusz Felisiak
7bd28727ad
[3.0.x] Added stub release notes for 1.11.25 and 2.1.13.
...
Backport of bd7e0f81f8
from master
2019-09-16 07:43:27 +02:00
Claude Paroz
c2057205d9
[3.0.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
...
Backport of b8dff52f44
from master
2019-09-14 17:23:08 +02:00
Ben Falk
e0bb9092d1
[3.0.x] Fixed typos in docs/ref/settings.txt.
...
Backport of 4056558a1c
from master
2019-09-13 20:37:22 +02:00
Nick Pope
4d72c14baf
[3.0.x] Refs #27910 -- Improved documentation for model field choice enumeration types.
...
Backport of 1c66767d4e
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 06670015f7
Backport of ea25bdc2b9
from master
2019-09-12 17:25:39 +02:00
Carlton Gibson
51095d7341
[3.0.x] Expanded notes on alphas in release How-to.
...
Backport of 4b63d45d54
from master
2019-09-12 10:37:24 +02:00
Mariusz Felisiak
8ce932a20a
[3.0.x] Refs #30591 -- Fixed too long identifier crash in migrations.test_operations on MySQL 8.0.16+.
...
Backport of 937ddaff55
from master
2019-09-11 12:20:51 +02:00
Adnan Umer
acb11725f8
[3.0.x] Fixed #30591 -- Fixed recreation of foreign key constraints on MySQL when altering type of referenced unique field.
...
Thanks Mariusz Felisiak for tests and Matthijs Kooijman for
investigation and initial patch.
Backport of 241deed259
from master
2019-09-11 11:43:55 +02:00
Carlton Gibson
1520df3f57
[3.0.x] Bumped version for 3.0 alpha 1 release.
2019-09-10 10:36:15 +02:00
Carlton Gibson
24de7501cc
[3.0.x] Bumped next Django version in docs config.
2019-09-10 10:34:38 +02:00
Carlton Gibson
513f137cfd
Updated man page for 3.0 alpha release.
2019-09-10 10:10:50 +02:00
Simon Charette
34decdebf1
Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.
...
SQLite doesn't repoint table aliases in partial index conditions on table
rename which breaks the documented table alteration procedure.
Thanks Pēteris Caune for the report.
2019-09-10 10:03:16 +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
Vojtech Bocek
10d5e439e9
Refs #28107 -- Doc'd how to subclass an existing database engine.
2019-09-09 14:04:41 +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
Nick Pope
fc62e16291
Standardized links for headers in security middleware documentation.
2019-09-09 13:35:17 +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
Johannes Hoppe
736e7d44de
Refs #29444 -- Fixed DateField constructor in db.backends.oracle.utils.InsertVar.
2019-09-09 10:51:07 +02:00
Nick Pope
b6251956b6
Fixed #30757 -- Added a system check to ensure max_length fits the longest choice.
2019-09-09 10:28:18 +02:00
Katie McLaughlin
fee75d2aed
Fixed #30767 -- Improved references to deployment documentation.
...
* Increased tocdepth to expose more complexity of topics.
* Ensured deployment checklist is linked on main doc page.
2019-09-09 10:02:33 +02:00
Claude Paroz
05d0eca635
Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY.
2019-09-09 08:15:26 +02:00
Claude Paroz
5495ea3ae0
Updated translation catalogs
2019-09-08 17:35:32 +02:00
Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
...
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
Mariusz Felisiak
addabc492b
Fixed DatabaseFeatures.can_introspect_check_constraints on MariaDB < 10.2.22, 10.3.0 - 10.3.9.
...
Regression in e2c6a0858d
.
2019-09-06 11:53:54 +02:00
Hasan Ramezani
6c379f1a18
Fixed #30763 -- Fixed management commands when using required mutually exclusive groups.
2019-09-06 10:55:24 +02:00