diff options
Diffstat (limited to 'module/web/settings.py')
-rw-r--r-- | module/web/settings.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/web/settings.py b/module/web/settings.py index 0dc86d699..00395b328 100644 --- a/module/web/settings.py +++ b/module/web/settings.py @@ -97,7 +97,10 @@ TEMPLATE_LOADERS = ( # 'django.template.loaders.eggs.load_template_source', ) + MIDDLEWARE_CLASSES = ( + 'django.middleware.gzip.GZipMiddleware', + 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', @@ -123,5 +126,5 @@ INSTALLED_APPS = ( ) -AUTH_PROFILE_MODULE = 'pyload.User' +AUTH_PROFILE_MODULE = 'pyload.UserProfile' LOGIN_URL = '/login'
\ No newline at end of file |