Open nerdoc opened 9 months ago
A Django setup seems to need strict_trans_tables in mysql. So if you setup Django on an Uberspace 7, and start the server, you get a warning.
you can prevent this by adding the sql_mode: traditional to the database options in your django setup:
sql_mode: traditional
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'OPTIONS': { 'sql_mode': 'traditional', # tolerate deactivated strict_trans_tables } } }
Uberspace should add that to the Django setup guide in Uberspace lab.
A Django setup seems to need strict_trans_tables in mysql. So if you setup Django on an Uberspace 7, and start the server, you get a warning.
you can prevent this by adding the
sql_mode: traditional
to the database options in your django setup:Uberspace should add that to the Django setup guide in Uberspace lab.