From fcdc826e2cba418b13dcd992ea60f5bb2599a6b3 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 23 Jan 2006 02:36:11 +0000 Subject: [PATCH] magic-removal: Removed BadCommand exception, which wasn't being used. git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2108 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/exceptions.py | 3 --- django/db/models/manipulators.py | 1 - 2 files changed, 4 deletions(-) diff --git a/django/db/models/exceptions.py b/django/db/models/exceptions.py index b11ebaee0f..d5a0ccad31 100644 --- a/django/db/models/exceptions.py +++ b/django/db/models/exceptions.py @@ -3,6 +3,3 @@ class FieldDoesNotExist(Exception): class BadKeywordArguments(Exception): pass - -class BadCommand(Exception): - pass diff --git a/django/db/models/manipulators.py b/django/db/models/manipulators.py index f0055018ab..46741021bd 100644 --- a/django/db/models/manipulators.py +++ b/django/db/models/manipulators.py @@ -1,7 +1,6 @@ from django.core.exceptions import ObjectDoesNotExist from django import forms from django.db.models.fields import FileField, AutoField -from django.db.models.exceptions import BadCommand from django.dispatch import dispatcher from django.db.models import signals from django.utils.functional import curry