magic-removal: Simplified a redundant import in django.db.models.manipulators

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-19 04:02:55 +00:00
parent cf0406d5ea
commit 12463932d3
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
from django.core.exceptions import ObjectDoesNotExist
from django import forms
from django.forms import Manipulator
from django.db.models.fields import FileField, AutoField
from django.db.models.exceptions import BadCommand
from django.dispatch import dispatcher
@ -57,7 +56,7 @@ class Naming(object):
name = property(_get_name)
class AutomaticManipulator(Manipulator, Naming):
class AutomaticManipulator(forms.Manipulator, Naming):
def _prepare(cls, model):
cls.model = model
cls.manager = model._default_manager