1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +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:
Joseph Kocherhans 2006-01-11 23:47:32 +00:00
parent 02f03e7b93
commit 0e66c7adec

View File

@ -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()