| Age | Commit message (Collapse) | Author |
|
Backport of 4a50daf6b343db1b5c316aa29efd657e160d0cd3 from master
|
|
_meta.apps.
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.
Backport of 3db3ab71e97d34260057a6f51d4b2f72da30dc8d from master
|
|
Thanks to Ali Lotfi for the initial report and patch
and Tim Graham for the review.
Backport of c1b6a8a98b08fedfa3f3c69bc7add94c5841ba57 from master
|
|
Backport of 6c95b134e9b2d5641c123551c080305e90e6a89d from master
|
|
Backport of 0922bbf18d3ae8f37e1823df2dbc270d33334548 from master
|
|
Some third-party database backends (MSSQL) have custom
delete_model() requirements that must be executed.
Thanks Michael Manfre for the initial patch and review.
Backport of 4dcc2a195595f8d7ddad45bc4baf98ffdeec7f41 from master
|
|
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
Backport of b971c1cd78a0bf831c1c30080089c4a384d037a0 from master
|
|
Check that the foreign object `from_fields` are a subset of any unique
constraints on the foreign model.
Backport of 80dac8c33e7f6f22577e4346f44e4c5ee89b648c and
c7aff31397a7228f6ac2e33c10ebdf36c4b7a9b7 from master
|
|
fields on Oracle.
Fixed on other backends by 134ca4d438bd7cbe8f0f287a00d545f96fa04a01.
Thanks Mariusz Felisiak for the solution.
Backport of 7a5b7e35bf2e219225b9f26d3dd3e34f26e83e9c from master
|
|
Backport of 384ddbec1b73a4636f234da3894fde8f8420bb63 from master
|
|
Backport of 5d8985005e from master.
|
|
model.
Backport of 914167abf19d16ac97c0f1f6ae1b08cb377c8f3a from master
|
|
Backport of 3543fec3b739864c52de0a116dde3b0e5e885799 from master
|
|
Backport of 6afa6818fcf25665bbf61f0921c8c8c6fa8f223e from master
|
|
helpful.
Backport of 9f2881deb127593e8e0fa25e978aad9029d7b562 from master
|
|
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in
particular it did not add the `_django_version` attribute added in 42736ac8.
Now it will handle this and other custom `__reduce__` methods correctly.
Backport of 35355a4ffedb2aeed52d5fe3034380ffc6a438db from master
|
|
LoaderOrigin and StringOrigin.
Thanks Simon Charette for the DeprecationInstanceCheck class.
Backport of 8d1a001ef6dcbbe8053da05cdb3ec99965b0953f from master
|
|
validators.
This avoids creating an empty list which is invalid HTML 4.
Backport of 53ccffdb8c8e47a4d4304df453d8c79a9be295ab from master
|
|
Thanks Tim Graham for the patch series review.
Backport of 50acbf3ff6 from master.
|
|
Backport of 4908222ac from master.
|
|
Backport of ddd6a530e from master.
|
|
Backport of d59d3caf3 from master.
|
|
Backport of 6dc7af3e01 from master.
|
|
Backport of d3cfdfb508 from master.
|
|
Backport of febd5aeec from master.
|
|
Backport of c42123adb166fd297116880a5322e4e17b11e33f from master
|
|
management command output.
Backport of 7372cdebed19a9d8e5527823c1e6825156babf98 from master
|
|
|
|
|
|
Without an explicit 'level', only messages at WARNING or higher
are handled. This makes the config consistent with the docs
which say, "The django catch-all logger sends all messages at
the INFO level or higher to the console."
|
|
Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking
exceptions on Python 2" and added a regression test.
This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7.
|
|
|
|
|
|
tag rendering.
|
|
|
|
|
|
This commits lifts the restriction that the outermost atomic block must
be declared with savepoint=False. This restriction was overly cautious.
The logic that makes it safe not to create savepoints for inner blocks
also applies to the outermost block when autocommit is disabled and a
transaction is already active.
This makes it possible to use the ORM after set_autocommit(False).
Previously it didn't work because ORM write operations are protected
with atomic(savepoint=False).
|
|
The old names were downright confusing. Some seemed to mean the opposite
of what the class actually did.
The new names follow a consistent nomenclature:
(Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor.
I mentioned combinations that do not exist in the docstring in order to
help people who would search for them in the code base.
|
|
Too much field exclusions in form's construct_instance() in _post_clean()
could lead to some unexpected missing ForeignKey values.
Fixes a regression from 45e049937. Refs #13776.
|
|
|
|
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah
for their reviews.
|
|
|
|
|
|
fails due to an unsaved object.
|
|
|
|
|
|
Moved data loss check when assigning to a reverse one-to-one relation on
an unsaved instance to Model.save(). This is exactly the same change as
e4b813c but for reverse relations.
|
|
|
|
urlparse() fails with an AttributeError ("'__proxy__' object has no
attribute 'decode'") if reverse_lazy is used to look up the URL
(this is exactly the same problem that caused ticket #18776). The
solution is to use force_str() on the path before handing it to
urlparse().
|
|
Thanks Tim Graham for the review.
|