| Age | Commit message (Collapse) | Author |
|
favor of databases.
|
|
|
|
|
|
unsaved model instances.
|
|
|
|
|
|
|
|
Follow up to a51c4de1945be2225f20fad794cfb52d8f1f9236.
|
|
|
|
Python docs say, "it's usually not necessary to invoke these methods directly."
|
|
|
|
This reverts commit 91023d79ec70df9289271e63a67675ee51e7dea8 as it
increases memory usage for the test suite.
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
TestCase subclasses are wrapped in a transaction that prevents any data from
being persisted between test runs andi thus don't require limiting the tables
to be flushed to a subset of available apps like TransactionTestCase subclasses
do.
|
|
|
|
|
|
Also removed try/except/fail antipattern that hides exceptions.
|
|
model_instance=None.
|
|
|
|
|
|
|
|
related set.
|
|
deprecation timeline.
|
|
|
|
Thanks Loic Bistuer for review.
|
|
ForeignKey/OneToOneField
|
|
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
|
|
|
|
|
|
Refs #24351.
|
|
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
|
|
|
|
|
|
|
|
|
|
#23933.
|
|
Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham
for reviews.
|
|
|
|
ValueError.
This prevents silent data loss.
Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
|
|
|
|
|
|
|
|
Thanks Anssi and Aymeric for the reviews. Refs #21174.
|
|
|
|
Thanks Piotr Kasprzyk for help with the patch.
|
|
It contained models, forms and admin objects causing undesirable
import side effects. Refs #16368.
Thanks to Ramiro, Carl and Loïc for the review.
|