[Answered ]-Is it possible to use Django's testing framework without having CREATE DATABASE rights?

2👍

You could maybe workaround this using sqlite3 engine to create a SQLite database. You can even create it in memory and drastically improve tests runtime.

To set it up just edit your database settings like this:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': ':memory:',
        ... # other settings (HOST, USER etc.)
    },
}

Leave a comment