fix ImproperlyConfigured raised when django.db.backends.dummy used with django 1.6