First time here? Check out the FAQ!
1

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

  • retag add tags

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!

nixfish's avatar
1
nixfish
asked 2013-08-07 16:58:41 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Evgeny's avatar
13.2k
Evgeny
answered 2013-08-07 17:08:00 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments