Skip to content

Commit

Permalink
django 2 compatibility set MIDDLEWARE
Browse files Browse the repository at this point in the history
  • Loading branch information
bj00rn authored Nov 4, 2019
1 parent 809b512 commit e358cfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
# ... other middleware goes here
] + list(getattr(global_settings, "MIDDLEWARE_CLASSES", []))

MIDDLEWARE = MIDDLEWARE_CLASSES

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
Expand Down

0 comments on commit e358cfa

Please sign in to comment.