Fixed the issue of the strip spaces middleware with downloads

This commit is contained in:
Roberto Rosario
2011-03-23 05:30:37 -04:00
parent bc181c703d
commit 1ff7c60ecd
2 changed files with 2 additions and 2 deletions

View File

@@ -89,6 +89,7 @@ TEMPLATE_LOADERS = (
)
MIDDLEWARE_CLASSES = (
'common.middleware.strip_spaces_widdleware.SpacelessMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
@@ -97,7 +98,6 @@ MIDDLEWARE_CLASSES = (
'django.contrib.messages.middleware.MessageMiddleware',
'common.middleware.login_required_middleware.LoginRequiredMiddleware',
'pagination.middleware.PaginationMiddleware',
#'common.middleware.strip_spaces_widdleware.SpacelessMiddleware',
'permissions.middleware.permissiondeniedmiddleware.PermissionDeniedMiddleware',
)