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
This commit is contained in:
Jacob Kaplan-Moss 2007-09-14 23:02:39 +00:00
parent 5af2af3e33
commit 4c0ac53ff8
1 changed files with 1 additions and 0 deletions

View File

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