Ticket #3736: mysql_base.diff

File mysql_base.diff, 675 bytes (added by Matt Riggott, 18 years ago)
  • db/backends/mysql/base.py

     
    1111    from django.core.exceptions import ImproperlyConfigured
    1212    raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e
    1313if 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__
    1515
    1616from MySQLdb.converters import conversions
    1717from MySQLdb.constants import FIELD_TYPE
Back to Top