We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 901aed7 commit 48a0e2eCopy full SHA for 48a0e2e
tests/settings.py
@@ -85,14 +85,8 @@
85
"default": {"ENGINE": "django.db.backends.postgresql", "NAME": "debug-toolbar"}
86
}
87
elif os.environ.get("DJANGO_DATABASE_ENGINE") == "mysql":
88
- # % mysql
89
- # CREATE USER 'debug_toolbar'@'localhost' IDENTIFIED BY '';
90
- # GRANT ALL PRIVILEGES ON debug_toolbar.* TO 'test_debug_toolbar'@'localhost';
91
DATABASES = {
92
- "default": {
93
- "ENGINE": "django.db.backends.mysql",
94
- "NAME": "debug_toolbar",
95
- }
+ "default": {"ENGINE": "django.db.backends.mysql", "NAME": "debug_toolbar"}
96
97
else:
98
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3"}}
0 commit comments