You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thank you for this amazing addition to django!
When I try to set up a new database (mariadb) for my django application via python manage.py migrate
I get a django.db.utils.OperationalError: no such table: constance_constance
makemigrations and showmigrations yield the same result.
From the stack trace traceback.txt I assume that it is due to accessing the config values before the database is set up.
So I removed all config imports and only implemented the settings required for constance settings.py.txt.
Now migrate worked.
Browsing the issues I found #229 where it seems as if my problem has already been dealt with in the past.
Is it possible that the access to the config values before complete db setup was disallowed again in a later commit?
If so what is the intended way of setting up a db from scratch with an application that has the access to the constance db already implemented?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
First of all thank you for this amazing addition to django!
When I try to set up a new database (mariadb) for my django application via
python manage.py migrate
I get a
django.db.utils.OperationalError: no such table: constance_constance
makemigrations and showmigrations yield the same result.
From the stack trace traceback.txt I assume that it is due to accessing the config values before the database is set up.
So I removed all config imports and only implemented the settings required for constance settings.py.txt.
Now migrate worked.
Browsing the issues I found #229 where it seems as if my problem has already been dealt with in the past.
Is it possible that the access to the config values before complete db setup was disallowed again in a later commit?
If so what is the intended way of setting up a db from scratch with an application that has the access to the constance db already implemented?
Thanks for your help!
The text was updated successfully, but these errors were encountered: