django1/django/core/management
Anssi Kääriäinen ee9f4686b1 Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures.
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.
2015-12-31 09:00:44 -05:00
..
commands Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures. 2015-12-31 09:00:44 -05:00
__init__.py Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS. 2015-10-18 10:34:04 +02:00
base.py Fixed #25958 -- Removed support for 'skip_validation' in BaseCommand.execute(**options). 2015-12-21 14:26:42 -05:00
color.py Fixed #25155 -- Removed an inner class in core.management.color for PyPy performance. 2015-07-21 13:07:45 -04:00
sql.py Removed support for syncing apps without migrations per deprecation timeline. 2015-01-18 15:58:06 -05:00
templates.py Fixed #25589 -- Allowed startapp/project to create apps with Unicode characters in the name. 2015-10-22 13:01:07 -04:00
utils.py Fixed #25677 -- Prevented decoding errors in/after Popen calls 2015-11-19 15:17:47 +01:00