8000 Add Django 2.0 support · codingjoe/django-stdimage@93b61a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93b61a5

Browse files
committed
Add Django 2.0 support
1 parent 83a6f57 commit 93b61a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333
]
3434

35-
MIDDLEWARE_CLASSES = (
35+
MIDDLEWARE = MIDDLEWARE_CLASSES = (
3636
'django.contrib.sessions.middleware.SessionMiddleware',
3737
'django.contrib.auth.middleware.AuthenticationMiddleware',
3838
'django.contrib.messages.middleware.MessageMiddleware',

tests/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from django.conf.urls import include, url
1+
from django.conf.urls import url
22
from django.contrib import admin
33

44
admin.autodiscover()
55

66
urlpatterns = [
7-
url(r'^admin/', include(admin.site.urls)),
7+
url(r'^admin/', admin.site.urls),
88
]

0 commit comments

Comments
 (0)
0