| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
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.
|
|
It looks like browsers have fixed the reported issue.
|
|
directory.
|
|
SingleObjectMixin.get_context_object_name().
|
|
|
|
request a positional argument.
|
|
|
|
is False.
|
|
Thanks Tim Graham for reviewing and contributing to the patch.
Refs #21113.
|
|
|
|
|
|
|
|
|
|
|
|
warning.
|
|
|
|
test_ForeignKey_using_to_field
|
|
|
|
|
|
|
|
|
|
This includes the ability to collapse inlines by specifying a class named
'collapse'.
|
|
Added unapplied migration count and the list of unmigrated apps.
|
|
|
|
|
|
|
|
This fixes a regression introduced by a5f6cbce07.
Thanks Gavin Wahl for the report and Tim Graham for the review.
|
|
|
|
Thanks to Trac alias benzid-wael for the report.
|
|
|
|
This fixes a regression introduced by 871440361.
|
|
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus
for the review.
|
|
|
|
|
|
|
|
Thanks to Trac aliases gerricom for the report, raphaelmerx for the
attempts to reproduce and Sergey Fedoseev and Tim for the review.
Refs #16891
|
|
|
|
|
|
inheritance child models.
|
|
|
|
Thanks Ben Kraft for the report, and Simon Charette for the review.
|
|
Thanks to bmispelon and uruz for the initial patch.
|
|
|
|
|
|
AlterField.
Thanks to Emanuele Palazzetti for the help.
|
|
installed.
|
|
|