diff --git a/example/example/settings.py b/example/example/settings.py index 1514227f..58e4f357 100644 --- a/example/example/settings.py +++ b/example/example/settings.py @@ -41,7 +41,7 @@ 'django.contrib.staticfiles.finders.AppDirectoriesFinder', ) -MIDDLEWARE_CLASSES = ( +MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', diff --git a/runtests.py b/runtests.py index bb3074d3..913212e0 100755 --- a/runtests.py +++ b/runtests.py @@ -38,7 +38,7 @@ 'polymorphic', 'polymorphic.tests', ), - MIDDLEWARE_CLASSES=(), + MIDDLEWARE=(), SITE_ID=3, TEMPLATES=[{ "BACKEND": "django.template.backends.django.DjangoTemplates",