[Fixed]-Makemigrations in dev machine, without database instance

19👍

The makemigrations command is trying to access the database to check the consistency of the migrations.

Ticket 26930 suggests that you can avoid the check by changing your settings to use the dummy backend.

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.dummy',
    }
}

Leave a comment