| Age | Commit message (Collapse) | Author |
|
annotate().
Backport of 3eba9638ee69138c73efb1d1c1d1b806ddafc6cf from master
|
|
Backport of 0db6367fe2aa6ab3fd152eacf172d57db45c1ffb from master
|
|
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
|
|
Backport of 89616f0c790376867ba31ada27554f40bfeb228e from master
|
|
Django's test suite often tries to load fixture files from apps that have
no fixtures at all. This creates a lot of unnecessary disabling and
enabling of constraints which can be expensive on some database.
To speed this up, loaddata now first checks if any fixture file matches.
If no fixture file is matched, then the command exits before disabling
and enabling of constraints is done.
The main benefit of this change is seen on MSSQL, where tests on
Django 1.8 run hours faster.
Backport of ee9f4686b19e2b4a68f5cb4f9d61dc045c1d4c63 from master
|
|
FormMixin.get_context_data().
Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not
be called unnecessarily, specifically in the case where FormMixin.form_invalid()
calls get_context_data() with the current form.
Backport of e429c5186ceed81c4627165518e0c70c58e69595 from master
|
|
SingleObjectMixin.get_context_object_name().
Backport of 4b2dcfe04f5d9938e40c569ffdd169f3a712145d from master
|
|
fields.
Backport of 69208a5a1c55d42ca0eaffa900be643d9f801089 from master
|
|
Backport of 300de968d680eea10daa00132f60b7db47abfe1d from master
|
|
This test sometimes fail because the checked integers can appear in the
output as memory addresses due to #24316.
|
|
|
|
Backport of 692d05589061a593d4bfbdb2895eaef0386eca34 from master
|
|
deprecation warning.
Backport of a856555df2a1b4ddad8bf21243de0bcbcc12fb20 from master
|
|
ForeignObject.
Backport of 8b6974a6857bdc48ad50bf21527b840c27648891 from master
|
|
test_ForeignKey_using_to_field
Backport of 5081adcb9004f2c726dcfd054f7f16c5fd39d391 from master
|
|
in tests.
Backport of edf3b88f1ad8f6e900fb3273cc8a573d3d77ce16 from master
|
|
Backport of f18b08748abaecb171fdcbcdfdcd7e4d95d931d1 from master
|
|
many-to-many tables.
Backport of fa9ce4e9a691e4f8c8b093784bac752e488dc60b from master
|
|
This fixes a regression introduced by a5f6cbce07.
Thanks Gavin Wahl for the report and Tim Graham for the review.
Backport of cd3c042b0 from master.
|
|
This fixes a regression introduced by 871440361.
Backport of d91cc25a2a from master.
|
|
model state.
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus
for the review.
Backport of c4e372aaf467ae41315cfe56a718a80469fc5318 from master
|
|
QuerySet.values().
Backport of 69b69f6d6085d80ccf36a3e999e9e5b98d580786 from master
|
|
crashing on MySQL.
Thanks to Trac aliases gerricom for the report, raphaelmerx for the
attempts to reproduce and Sergey Fedoseev and Tim for the review.
Refs #16891
Backport of 8035cee92293f3319919c8248c7787ba43c05917 from master
|
|
by startapp.
Backport of 10427646b887586bf89dacb3b5208b3ad2d17308 from master
|
|
objects.
Backport of 8ab58b80529c5206654c1042a4ddcf2da364f8ec from master
|
|
when using AlterField.
Thanks to Emanuele Palazzetti for the help.
Backport of 3a36c8079544c83dcdea4e52181efcd2d1e86b9c from master
|
|
Backport of 6be9589eb34f79914666c9d9e1e15bdb7fc44df2 from master
|
|
Backport of 5bc881541caafbac6911fb26d9718b8ad6d45b2a from master
|
|
The test creates and deletes a model in the same migration, and the model
had an AutoField. On Oracle, AutoField's are set up using deferred SQL, which
in this case was trying to modify a table after it had dbeen removed.
Backport of c8b3fbe from master
|
|
SeparateDatabaseAndState.database_backwards().
Backport of 542b7f6c50df18f2aa201cf1de81577c1bee643c from master
|
|
Thanks to Jean Gourds for the report, Tim and Claude for the review.
Backport of 59b57e672c2f5a685804cce253d2c5314c45c5fa from master
|
|
its form argument.
Backport of e171a83b1516a3a2a393a5300527af1aab21c213 from master
|
|
This also fixes a possible data eviction race condition between
setting and getting a key. Another thread could remove the key
before get_and_set() accesses it again. In this case, now the
default value will be returned instead of None.
Backport of 8e838d9c869083597dc9e161ae2fe37acaa90de9 from master
|
|
Backport of 93452a70e8a62c7408eeded444f5088d4a26212d from master
|
|
date template filter.
Backport of 34d88944f46d3e2734488fd0ca3c2c24c15a0264 from master
|
|
The check introduced in 4ce433e was too strict in real life. The poorly
implemented bots this patch attempted to ignore are sloppy when it comes
to http vs. https.
Backport of 11f10b7 from master
|
|
Thanks to Trac alias mrgaolei for the report, Baptiste for the confirmation
and Tim for the review.
Backport of cc2ca9c550fbf8fca8684b373a3c8e3618eea08e from master
|
|
Backport of 88fc9e2826044110b7b22577a227f122fe9c1fb5 from master
|
|
Backport of 935061621136ddb4e4ca65a1861ee57e4e3dda09 from master
|
|
unique_together.
Backport of 2cb50f935aa70e91dd6c2f253becd636a2eb6fb7 from master
|
|
|
|
This is a security fix.
|
|
Positive(Small)IntegerField on MySQL.
Backport of 710e11d076b9e5ef3e3b486dfb70bb55b788691c from master
|
|
with order_with_respect_to referencing OneToOneField pk.
Forwardport of 6d9f061b07ce7aa1a9da6799b3104971ee73998b from stable/1.8.x
The issue was fixed by 7bec480fe2ace94c8e7f0c88485442bfa74436b4.
|
|
proxied models.
Thanks to Trac alias ppetrid for the report and Tim for the review.
Conflicts:
tests/delete/tests.py
Forward port of 7c3ef19978b36b61db88a519f799f1ce8d019679 from stable/1.8.x
|
|
Backport of 550107ff756beeb17b465e98c26c59e3dcc5eb3e from master
|
|
w/on_delete=SET_NULL.
Backport of 54e2e688e1cfbdb37dfa5dd3b3ffdf2af12b4423 from master
|
|
Backport of 58379d7e958fdf024f896b86f7df3415ce876200 from master
|
|
Backport of 1c5f4e86bc9c7bae5d5f3830d9cfbb0043297261 from master
|
|
Backport of d95b22bd56764c71047ec16f628c00c0fd997cfd from master
|