django1/django/core
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
..
cache Fixed typo in BaseCache.delete_many() docstring. 2015-12-29 20:50:04 -05:00
checks Fixed #25500 -- Added --fail-level option to check command. 2015-10-05 17:11:40 -04:00
files Refs #9893 -- Removed shims for lack of max_length support in file storage per deprecation timeline. 2015-09-23 19:31:10 -04:00
handlers Fixed #25779 -- Removed redundant try block in WSGIHandler 2015-11-20 16:12:17 +02:00
mail Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3. 2015-07-25 07:42:30 -04:00
management Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures. 2015-12-31 09:00:44 -05:00
serializers Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
servers Fixed #25204 -- Added missing space in runserver logging. 2015-08-01 08:01:24 -04:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
exceptions.py Fixed #9104 -- Moved FieldDoesNotExist to core.exceptions 2015-01-02 10:46:04 -05:00
paginator.py Fixed #23190 -- Made Paginator.page_range an iterator 2015-07-03 11:34:34 -04:00
signals.py Fixed #20349 -- Moved setting_changed signal to django.core.signals. 2014-12-24 07:18:43 -05:00
signing.py Refs #22804 -- Made an unsafe value of 'sep' in Signer an exception. 2015-09-23 19:31:11 -04:00
urlresolvers.py Fixed "URLconf" spelling in code comments. 2015-10-22 14:46:42 -04:00
validators.py Fixed #25637 -- Added URLValidator hostname length validation. 2015-12-08 15:46:45 -05:00
wsgi.py Fixed #16734 -- Set script prefix even outside of requests 2015-10-29 20:12:38 +01:00