mirror of
				https://github.com/django/django.git
				synced 2025-10-28 08:06:09 +00:00 
			
		
		
		
	[1.7.x] Adjusted refactoring of vendor checks.
Thanks Shai for the thorough review.
Backport of fb90b7c from master
			
			
This commit is contained in:
		| @@ -57,7 +57,8 @@ class IntrospectionTests(TestCase): | ||||
|         self.assertEqual( | ||||
|             [datatype(r[1], r) for r in desc], | ||||
|             ['AutoField' if connection.features.can_introspect_autofield else 'IntegerField', | ||||
|              'CharField', 'CharField', 'CharField', 'BigIntegerField', | ||||
|              'CharField', 'CharField', 'CharField', | ||||
|              'BigIntegerField' if connection.features.can_introspect_big_integer_field else 'IntegerField', | ||||
|              'BinaryField' if connection.features.can_introspect_binary_field else 'TextField'] | ||||
|         ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user