Skip to content

Commit

Permalink
Merge pull request #36 from bj00rn/master
Browse files Browse the repository at this point in the history
django 2 compatibility set MIDDLEWARE
  • Loading branch information
RealOrangeOne authored Nov 7, 2019
2 parents 0a34e6d + e358cfa commit 31ed04b
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 31ed04b

Please sign in to comment.