Skip to content

Instantly share code, notes, and snippets.

# cache settings
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
# 'BACKEND': 'redis_cache.RedisCache',
# 'LOCATION': '%s:%d' % (REDIS_HOST, REDIS_PORT),
# 'OPTIONS': {
# 'DB': REDIS_DB_CACHE,
# },
},
ERROR Internal Server Error: /questions/
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/oforum/local/lib/python2.7/site-packages/djan
go/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/vagrant/.virtualenvs/oforum/src/askbot/askbot/views/readers.py", l
ine 287, in questions
return render(request, 'main_page.html', template_data)
File "/home/vagrant/.virtualenvs/oforum/local/lib/python2.7/site-packages/djan
go/shortcuts/__init__.py", line 49, in render