﻿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
24355	Cannot use Django 1.8a1 with mysql.connector.python (Oracle's official mysql connector.)	LEE U BILL	nobody	"I have Django 1.8a1 and mysql-connector-python 2.0.3 installed.

I get this error, reproducable by setting ENGINE as below in the settings.py.
And then running the command line python manage.py startapp polls

DATABASES = {
    'default': {
        #'ENGINE': 'django.db.backends.mysql',
        'ENGINE': 'mysql.connector.django',

The error happens at django.apps.config.py at around line 202:
self.models_module = import_module(models_module_name)


Partial stack trace (this error is reproducable anyhow.)

django.core.exceptions.ImproperlyConfigured: 'mysql.connector.django' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
    u'base', u'mysql', u'oracle', u'postgresql_psycopg2', u'sqlite3'
Error was: cannot import name BaseDatabaseFeatures

My OS is Debian Wheezy."	Uncategorized	closed	Database layer (models, ORM)	1.8alpha1	Normal	invalid			Unreviewed	0	0	0	0	1	0
