From 12463932d33d593d8bd9bb33aec98f705ced34bc Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 19 Jan 2006 04:02:55 +0000 Subject: [PATCH] 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 --- django/db/models/manipulators.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/db/models/manipulators.py b/django/db/models/manipulators.py index 05704db650..d1ced1895a 100644 --- a/django/db/models/manipulators.py +++ b/django/db/models/manipulators.py @@ -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