Skip to content

Commit

Permalink
Обновлены настройки для тестирования миграций.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeWazowskyi committed Sep 1, 2023
1 parent 25efb2b commit 140ca49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"bot.apps.BotConfig",
"users.apps.UsersConfig",
"core.apps.CoreConfig",
"django_otp",
"django_otp.plugins.otp_email",
]

MIDDLEWARE = [
Expand All @@ -32,6 +34,7 @@
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django_otp.middleware.OTPMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
Expand All @@ -56,7 +59,6 @@

WSGI_APPLICATION = "config.wsgi.application"


DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
Expand Down

0 comments on commit 140ca49

Please sign in to comment.