Skip to content

Commit

Permalink
Reformat settings using black
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Nov 28, 2018
1 parent 901aed7 commit 48a0e2e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,8 @@
"default": {"ENGINE": "django.db.backends.postgresql", "NAME": "debug-toolbar"}
}
elif os.environ.get("DJANGO_DATABASE_ENGINE") == "mysql":
# % mysql
# CREATE USER 'debug_toolbar'@'localhost' IDENTIFIED BY '';
# GRANT ALL PRIVILEGES ON debug_toolbar.* TO 'test_debug_toolbar'@'localhost';
DATABASES = {
"default": {
"ENGINE": "django.db.backends.mysql",
"NAME": "debug_toolbar",
}
"default": {"ENGINE": "django.db.backends.mysql", "NAME": "debug_toolbar"}
}
else:
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3"}}
Expand Down

0 comments on commit 48a0e2e

Please sign in to comment.