Ask Your Question

Settings not taking effect

asked 2012-04-21 13:13:02 -0500

megabosx's avatar

I'm modifying settings in the admin page but they are not taking effect.If i disable some login methods they are still available on the main forum page.Likewise if i click save, the settings still appear as if i had not modified them, what could be wrong.

edit retag flag offensive close merge delete


1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-21 13:18:51 -0500

Evgeny's avatar

Your cache setup could be wrong. Configure redis cache or memcached for the production use.

edit flag offensive delete link more


How exactly do you configure memcached setting in the settings file, i've tried messing around with the settings file but i just can't get it to work, and how to you test if memcached is actually working?

megabosx's avatar megabosx  ( 2012-04-24 12:43:15 -0500 )edit

Firstly - use pymemcache - the Python implementation. The C implementation is buggy. Django project has documentation for the cache setup, please have a look.

Evgeny's avatar Evgeny  ( 2012-04-24 15:09:00 -0500 )edit

I'm getting the following error when i add the memcached settings as indicated in the docs: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named memcache"

megabosx's avatar megabosx  ( 2012-04-26 01:08:49 -0500 )edit

Take a look at hosting providers documentation on how to set up memcache for django. In this case you are missing a module indeed.

Evgeny's avatar Evgeny  ( 2012-04-26 08:53:54 -0500 )edit

i followed the memcached setup procedure from the hosting provider, now im getting the following errors: in asbot.log; ImportError: No module named cache_db in server log: VariableDoesNotExist: Failed lookup for key [request] in u'[{}]' what could be the problem, i've switched to using postgres but still the same problem.

megabosx's avatar megabosx  ( 2012-04-26 09:21:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-04-21 13:13:02 -0500

Seen: 424 times

Last updated: Apr 21 '12