mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	magic-removal: Fixed #1197: Fixed validation error message in django-admin. Thanks, Andreas
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -526,7 +526,7 @@ def install(app): | ||||
|     s = StringIO() | ||||
|     num_errors = get_validation_errors(s) | ||||
|     if num_errors: | ||||
|         sys.stderr.write("Error: %s couldn't be installed, because there were errors in your model:\n" % mod_name) | ||||
|         sys.stderr.write("Error: %s couldn't be installed, because there were errors in your model:\n" % app_name) | ||||
|         s.seek(0) | ||||
|         sys.stderr.write(s.read()) | ||||
|         sys.exit(1) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user