Anssi Kääriäinen 99569b22d9 
	
	
	[1.9.x]  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.
Backport of ee9f4686b1 
		
	 
		2015-12-31 09:05:20 -05:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-06-08 15:12:20 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-07 15:07:47 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-14 11:32:05 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-12 09:50:17 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-03 10:33:05 +00:00 
		 
	
		
			
			
			
			
			
			2015-12-29 19:37:29 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-23 14:02:07 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-08-15 08:23:32 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-14 12:08:35 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-14 12:08:35 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2015-11-21 11:30:18 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-04 12:28:34 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-21 19:56:24 +10:00 
		 
	
		
			
			
			
			
			
			2015-09-17 19:22:53 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-22 20:25:42 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-27 08:40:36 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-03 10:33:05 +00:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-07 09:33:17 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-18 19:04:29 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-10-19 20:13:16 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-14 13:13:47 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-09 23:03:51 +02:00 
		 
	
		
			
			
			
			
			
			2015-09-29 19:20:11 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-27 08:40:36 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-10-14 11:24:12 -07:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-28 10:17:34 +10:00 
		 
	
		
	
		
			
			
			
			
			
			2015-07-21 09:19:40 -04:00 
		 
	
		
			
			
			
			
			
			2015-06-24 16:08:20 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-06-12 10:17:21 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-31 09:05:20 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-31 17:37:21 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-24 07:35:08 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-17 15:39:34 +01:00 
		 
	
		
			
			
			
			
			
			2015-06-17 20:07:00 +02:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-21 22:20:42 +02:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-30 17:30:37 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-06-17 17:11:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-18 17:51:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-25 13:15:35 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-24 08:08:51 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-23 11:33:49 -04:00 
		 
	
		
			
			
			
			
			
			2015-10-27 13:57:52 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-22 20:25:42 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2015-03-26 19:00:37 -04:00 
		 
	
		
			
			
			
			
			
			2015-03-22 13:21:08 +01:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-21 22:20:42 +02:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-21 22:20:42 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-10 14:00:49 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2015-12-19 13:50:06 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-19 14:54:53 +10:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-10-05 19:19:09 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-21 21:30:49 +02:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-15 19:32:21 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-14 12:08:35 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-10-09 10:59:57 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-23 12:08:29 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-03 11:34:34 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-07 15:04:13 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-11 12:27:15 -05:00 
		 
	
		
			
			
			
			
			
			2015-06-18 08:36:50 -04:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-15 07:30:30 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-12 21:34:40 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-06-24 16:08:20 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-15 09:01:25 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-10 16:19:36 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-09 23:03:51 +02:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-08-01 08:01:24 -04:00 
		 
	
		
			
			
			
			
			
			2015-10-20 12:20:11 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-31 17:37:21 -04:00 
		 
	
		
			
			
			
			
			
			2015-06-24 16:08:20 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-05-20 13:46:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-07 11:44:37 -04:00 
		 
	
		
			
			
			
			
			
			2015-06-24 16:08:20 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-06-18 16:25:32 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-11 12:19:34 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-09-19 15:54:33 +02:00 
		 
	
		
			
			
			
			
			
			2015-06-24 16:08:20 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-06 17:33:47 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-23 10:23:41 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-28 17:46:33 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-09-12 11:40:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-06-30 14:51:00 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-21 22:21:53 +02:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-29 12:48:53 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-12 17:17:28 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-03 12:49:03 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-27 18:28:13 -04:00 
		 
	
		
			
			
			
			
			
			2015-10-29 11:14:20 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-23 10:23:41 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-08-31 17:37:21 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-04 09:32:12 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2015-12-24 16:45:38 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-10-22 14:47:15 -04:00