Ask Your Question
1

How to set RSS_ENABLED to False without change the source code?

asked 2013-08-07 16:58:41 -0600

nixfish gravatar image

I tried to add RSS_ENABLED = False in my settings.py but it did not work. I saw this switch in conf/social_sharing.py. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-08-07 17:08:00 -0600

Evgeny gravatar image

This feature works like in the livesettings app, we use it internally, it's not the most straightforward, but possible.

LIVESETTINGS_OPTIONS = {
    1: { # site id
        'DB': True,
        'SETTINGS': {
            'SOCIAL_SHARING': { # this is name of the group of settings
                'RSS_ENABLED': True, # name of the setting
            },
        }
    }
}

You can change these via UI too: log in as admin and go to /settings url or click the "settings" link in the header.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2013-08-07 16:58:41 -0600

Seen: 49 times

Last updated: Aug 07 '13