diff --git a/middleware.py b/core/middleware.py similarity index 100% rename from middleware.py rename to core/middleware.py diff --git a/unused.py b/core/unused.py similarity index 100% rename from unused.py rename to core/unused.py diff --git a/settings.py b/settings.py index 4deb6da..98a9016 100644 --- a/settings.py +++ b/settings.py @@ -139,7 +139,7 @@ MIDDLEWARE = [ 'django.contrib.admindocs.middleware.XViewMiddleware', # this and docutils needed by admindocs 'django.contrib.messages.middleware.MessageMiddleware', # Cookie-based and session-based message support. Needed by admin system 'django.middleware.clickjacking.XFrameOptionsMiddleware', # clickjacking protection via the X-Frame-Options header - #'troggle.middleware.SmartAppendSlashMiddleware' # needs adapting after Dj2.0 + #'troggle.core.middleware.SmartAppendSlashMiddleware' # needs adapting after Dj2.0 ] ROOT_URLCONF = 'troggle.urls'