web/ldtplatform/settings.py
changeset 314 1a8620e5ebb0
parent 242 bee98775a8e8
child 332 c28d4dc49a50
equal deleted inserted replaced
313:f47e9d4c8a59 314:1a8620e5ebb0
    76     'django.template.loaders.app_directories.Loader',
    76     'django.template.loaders.app_directories.Loader',
    77 #     'django.template.loaders.eggs.Loader',
    77 #     'django.template.loaders.eggs.Loader',
    78 )
    78 )
    79 
    79 
    80 MIDDLEWARE_CLASSES = (
    80 MIDDLEWARE_CLASSES = (
       
    81     'django.middleware.cache.UpdateCacheMiddleware',
       
    82     'django.middleware.common.CommonMiddleware',
       
    83     'django.middleware.cache.FetchFromCacheMiddleware',
    81     'django.middleware.gzip.GZipMiddleware',
    84     'django.middleware.gzip.GZipMiddleware',
    82     'django.middleware.common.CommonMiddleware',
       
    83     'ldt.ldt_utils.middleware.swfupload.SWFUploadMiddleware',
    85     'ldt.ldt_utils.middleware.swfupload.SWFUploadMiddleware',
    84     'django.contrib.sessions.middleware.SessionMiddleware',
    86     'django.contrib.sessions.middleware.SessionMiddleware',
    85     'django.middleware.csrf.CsrfViewMiddleware',
    87     'django.middleware.csrf.CsrfViewMiddleware',
    86     'django.contrib.auth.middleware.AuthenticationMiddleware',
    88     'django.contrib.auth.middleware.AuthenticationMiddleware',
    87     #'django.middleware.locale.LocaleMiddleware',
    89     #'django.middleware.locale.LocaleMiddleware',
   138     'django_openid_consumer',
   140     'django_openid_consumer',
   139     'piston',
   141     'piston',
   140     'social_auth',
   142     'social_auth',
   141     'south',
   143     'south',
   142     'guardian',
   144     'guardian',
       
   145     'sorl.thumbnail',
   143 )
   146 )
   144 
   147 
   145 AUTH_PROFILE_MODULE = 'user.UserProfile'
   148 AUTH_PROFILE_MODULE = 'user.UserProfile'
   146 
   149 
   147 DECOUPAGE_BLACKLIST = (
   150 DECOUPAGE_BLACKLIST = (