mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed a typo in r9650.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -18,7 +18,7 @@ class DatabaseValidation(BaseDatabaseValidation): | ||||
|         if isinstance(f, varchar_fields) and f.max_length > 255: | ||||
|             if db_version < (5, 0, 3): | ||||
|                 msg = '"%(name)s": %(cls)s cannot have a "max_length" greater than 255 when you are using a version of MySQL prior to 5.0.3 (you are using %(version)s).' | ||||
|             if f.unique == True: | ||||
|             elif f.unique == True: | ||||
|                 msg = '"%(name)s": %(cls)s cannot have a "max_length" greater than 255 when using "unique=True".' | ||||
|             else: | ||||
|                 msg = None | ||||
|   | ||||
		Reference in New Issue
	
	Block a user