multi-database

Django fails to create superuser in other db than 'default'

Django fails to create superuser in other db than 'default' Question: Is it a bug or am I wrong ? I am at the step to create a superuser, but django want a table in wrong db despite my router seems to work : settings.py DATABASES = { ‘intern_db’: { ‘ENGINE’: ‘mysql.connector.django’, ‘NAME’: ‘django_cartons’, ‘USER’: …

Total answers: 3