﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3747	Changeset [4724] MySQLdb versioncheck not working.	derelm	Adrian Holovaty	"{{{
# django/db/backends/mysql/base.py
import MySQLdb as Database
#[...]
if Database.version_info < (1,2,1,'final',2):
	    raise ImportError, ""MySQLdb-1.2.1p2 or newer is required; you have %s"" % MySQLdb.__version__
}}}

Debian Sarge comes with MySQLdb 1.2.1.g2 but the check effectively doesn't kick in.
{{{
>>> (1,2,1,'gamma',2) < (1,2,1,'final',2)
False
}}}

Also MySQLdb has been imported as Database so the Error raised needs to be
{{{
raise ImportError, ""MySQLdb-1.2.1p2 or newer is required; you have %s"" % Database.__version__
}}}
"		closed	Database layer (models, ORM)	dev		fixed			Accepted	0	0	0	0	0	0
