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:
parent
02f03e7b93
commit
0e66c7adec
|
@ -764,7 +764,6 @@ class ModelErrorCollection:
|
|||
|
||||
def get_validation_errors(outfile):
|
||||
"Validates all installed models. Writes errors, if any, to outfile. Returns number of errors."
|
||||
import django.models
|
||||
from django.db import models
|
||||
e = ModelErrorCollection(outfile)
|
||||
module_list = models.get_installed_model_modules()
|
||||
|
|
Loading…
Reference in New Issue