Skip to content

Commit

Permalink
Try to appease Django 1.7, which removes default middlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
tgs committed Jun 17, 2014
1 parent 604a028 commit a3514a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
"NAME": ":memory:",
}
},
MIDDLEWARE_CLASSES=[
"django.middleware.common.CommonMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
],
STATIC_URL="/static/",
STATIC_ROOT="staticfiles",
SITE_ID=1,
Expand Down

0 comments on commit a3514a5

Please sign in to comment.