summaryrefslogtreecommitdiffstats
path: root/module/web/settings.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 17:09:14 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 17:09:14 +0100
commitfe85f003f3adfb568c8b1a650035128c183a739d (patch)
tree3abde88d3554831e0a41e3fd2d5d4092fd677a1f /module/web/settings.py
parentre-added progressbar (diff)
downloadpyload-fe85f003f3adfb568c8b1a650035128c183a739d.tar.xz
some Webinterface Json Code
Diffstat (limited to 'module/web/settings.py')
-rw-r--r--module/web/settings.py5
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