From 4c0ac53ff899bb9931d8c518fd1a643aca584f49 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Fri, 14 Sep 2007 23:02:39 +0000 Subject: [PATCH] Fixed a missing import in mysql backend. Thanks for pointing it out, mattmcc. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6244 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/backends/mysql/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index 92eac6ea3e..f729629751 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -25,6 +25,7 @@ import types import re # Raise exceptions for database warnings if DEBUG is on +from django.conf import settings if settings.DEBUG: from warnings import filterwarnings filterwarnings("error", category=Database.Warning)