I've setup an askbot installation but i've been getting some problems due to caching.I was advised to setup memcached for production use with askbot.Now which settings should i add to the settings file and what values should i enter, i've alreaedy started memcached socket. asked 24 Apr '12, 13:14 boscomX |
Askbot is built on Django, so the following settings should work for you: Configuring Django to Use Memcached answered 24 Apr '12, 14:22 seanf what about the extra settings in the settings file, like cache_backend which by default askbot has it set to locmem// , what should i replace it with after starting memcached.
(24 Apr '12, 23:02)
boscomX
CACHE_BACKEND is an setting for Django 1.2 and under. The differences and the settings are covered in the Django Docs.
(25 Apr '12, 00:17)
johns
I'm getting the following error after adding the cache settings ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named memcache"
(26 Apr '12, 01:00)
boscomX
1
This just means that the module isn't on the path. If you haven't installed it, you can do so using:
If it's already installed, then you just need to add it to the python path in your WSGI file.
(26 Apr '12, 01:24)
ryans ♦♦
|