Kill johnny

master
Nick Sergeant 2012-06-04 17:32:35 -04:00
parent 768e61f8bf
commit 3da5aa017a
3 changed files with 1 additions and 17 deletions

3
.gitignore vendored
View File

@ -1,8 +1,7 @@
.gunicorn.pid
.nginx.log
*.log
.sass-cache
*.un~
*.pgdump
*.pyc

View File

@ -28,4 +28,3 @@ Werkzeug
git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
hg+https://bitbucket.org/ubernostrum/django-registration#egg=django-registration
git+https://github.com/toastdriven/django-tastypie.git#egg=django-tastypie
hg+https://bitbucket.org/jmoiron/johnny-cache#egg=johnny_cache-dev

View File

@ -216,20 +216,6 @@ ABSOLUTE_URL_OVERRIDES = {
}
# Caching
if not DEBUG:
INSTALLED_APPS += ('johnny',)
JOHNNY_MIDDLEWARE_KEY_PREFIX='johnny_snipt'
MIDDLEWARE_CLASSES += (
'johnny.middleware.LocalStoreClearMiddleware',
'johnny.middleware.QueryCacheMiddleware',
)
CACHES = {
'default': dict(
BACKEND = 'johnny.backends.memcached.MemcachedCache',
LOCATION = ['127.0.0.1:11211'],
JOHNNY_CACHE = True,
)
}
# CSS / JS Compression
COMPRESS_OUTPUT_DIR = 'cache'