mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	magic-removal: removed bad import. django.models is gone as of [1919].
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -764,7 +764,6 @@ class ModelErrorCollection: | |||||||
|  |  | ||||||
| def get_validation_errors(outfile): | def get_validation_errors(outfile): | ||||||
|     "Validates all installed models. Writes errors, if any, to outfile. Returns number of errors." |     "Validates all installed models. Writes errors, if any, to outfile. Returns number of errors." | ||||||
|     import django.models |  | ||||||
|     from django.db import models |     from django.db import models | ||||||
|     e = ModelErrorCollection(outfile) |     e = ModelErrorCollection(outfile) | ||||||
|     module_list = models.get_installed_model_modules() |     module_list = models.get_installed_model_modules() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user