Ticket #3736: mysql_base.diff
File mysql_base.diff, 675 bytes (added by , 18 years ago) |
---|
-
db/backends/mysql/base.py
11 11 from django.core.exceptions import ImproperlyConfigured 12 12 raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e 13 13 if Database.version_info < (1,2,1,'final',2): 14 raise ImportError, "MySQLdb-1.2.1p2 or newer is required; you have %s" % MySQLdb.__version__14 raise ImportError, "MySQLdb-1.2.1p2 or newer is required; you have %s" % Database.__version__ 15 15 16 16 from MySQLdb.converters import conversions 17 17 from MySQLdb.constants import FIELD_TYPE