Disable cache because it explodes on large objects.
parent
a13a2dbae9
commit
13b38b95d2
|
@ -27,7 +27,6 @@ parsedatetime==1.5
|
||||||
psycopg2==2.6.1
|
psycopg2==2.6.1
|
||||||
py-bcrypt==0.4
|
py-bcrypt==0.4
|
||||||
pycrypto==2.6.1
|
pycrypto==2.6.1
|
||||||
pylibmc==1.5.0
|
|
||||||
python-dateutil==2.4.2
|
python-dateutil==2.4.2
|
||||||
python-mimeparse==0.1.4
|
python-mimeparse==0.1.4
|
||||||
python-postmark==0.4.7
|
python-postmark==0.4.7
|
||||||
|
|
|
@ -25,13 +25,6 @@ if 'DATABASE_URL' in os.environ:
|
||||||
"http_auth": es.username + ':' + es.password
|
"http_auth": es.username + ':' + es.password
|
||||||
}
|
}
|
||||||
|
|
||||||
CACHES = {
|
|
||||||
'default': {
|
|
||||||
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
|
|
||||||
'LOCATION': '127.0.0.1:11211',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ABSOLUTE_URL_OVERRIDES = {'auth.user': lambda u: "/%s/" % u.username}
|
ABSOLUTE_URL_OVERRIDES = {'auth.user': lambda u: "/%s/" % u.username}
|
||||||
ACCOUNT_ACTIVATION_DAYS = 0
|
ACCOUNT_ACTIVATION_DAYS = 0
|
||||||
ADMINS = (('Nick Sergeant', 'nick@snipt.net'),)
|
ADMINS = (('Nick Sergeant', 'nick@snipt.net'),)
|
||||||
|
@ -133,9 +126,7 @@ LOGGING = {
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE_CLASSES = (
|
||||||
'django.middleware.csrf.CsrfViewMiddleware',
|
'django.middleware.csrf.CsrfViewMiddleware',
|
||||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||||
'django.middleware.cache.UpdateCacheMiddleware',
|
|
||||||
'django.middleware.common.CommonMiddleware',
|
'django.middleware.common.CommonMiddleware',
|
||||||
'django.middleware.cache.FetchFromCacheMiddleware',
|
|
||||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||||
'django.contrib.messages.middleware.MessageMiddleware',
|
'django.contrib.messages.middleware.MessageMiddleware',
|
||||||
|
|
Loading…
Reference in New Issue