Skip to content

Commit

Permalink
Update test_settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daadu authored Apr 27, 2020
1 parent bdaaf1e commit 5487893
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions admintool_command/tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'context_processors': (
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.request',
'django.contrib.messages.context_processors.messages',
)
}
}]
Expand Down Expand Up @@ -61,6 +62,9 @@
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
]

MIDDLEWARE = MIDDLEWARE_CLASSES

SECRET_KEY = 'foobar'

0 comments on commit 5487893

Please sign in to comment.