Skip to content

Commit

Permalink
Change CACHE_BACKEND to use pylibmc (bug 567181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Gross committed May 21, 2010
1 parent 7b452cb commit ccd3004
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/settings/settings_local.prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
SLAVE_DATABASES = ['slave-1']

# Use IP:PORT pairs separated by semicolons.
CACHE_BACKEND = 'caching.backends.memcached://localhost:11211;localhost:11212?timeout=500'
CACHE_BACKEND = 'django_pylibmc.memcached://localhost:11211;localhost:11212?timeout=500'

# This is used to hash some things in Django.
SECRET_KEY = 'replace me with something long and random'
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Jinja2==2.2.1
-e git://github.com/jsocol/jingo-minify.git#egg=jingo-minify
-e git://github.com/jsocol/bleach.git#egg=bleach
-e git://github.com/jbalogh/schematic.git#egg=schematic
-e git://github.com/jbalogh/django-pylibmc.git#egg=django-pylibmc

GitPython==0.1.7
MySQL-python==1.2.3c1
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
SLAVE_DATABASES = []

# Cache Settings
#CACHE_BACKEND = 'caching.backends.memcached://localhost:11211'
#CACHE_BACKEND = 'django_pylibmc.memcached://localhost:11211'
#CACHE_PREFIX = 'sumo:'

# Addresses email comes from
Expand Down

0 comments on commit ccd3004

Please sign in to comment.