diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-07 16:21:33 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-07 16:21:33 -0300 |
commit | 6e4e975636612756751417b42ab8f354e03bd10e (patch) | |
tree | 9ef60b81607fe68ece952fe36f101205962cddb2 /askbot/conf | |
parent | 1f788b179187916786efab40c3cebd25a12b2ef3 (diff) | |
download | askbot-6e4e975636612756751417b42ab8f354e03bd10e.tar.gz askbot-6e4e975636612756751417b42ab8f354e03bd10e.tar.bz2 askbot-6e4e975636612756751417b42ab8f354e03bd10e.zip |
added a setting to disable RSS feed
Diffstat (limited to 'askbot/conf')
-rw-r--r-- | askbot/conf/social_sharing.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/askbot/conf/social_sharing.py b/askbot/conf/social_sharing.py index 9a0f8ad4..c7c29151 100644 --- a/askbot/conf/social_sharing.py +++ b/askbot/conf/social_sharing.py @@ -8,13 +8,22 @@ from django.utils.translation import ugettext as _ SOCIAL_SHARING = ConfigurationGroup( 'SOCIAL_SHARING', - _('Sharing content on social networks'), + _('Content sharing'), super_group = EXTERNAL_SERVICES ) settings.register( BooleanValue( SOCIAL_SHARING, + 'RSS_ENABLED', + default=True, + description=_('Check to enable RSS feeds') + ) +) + +settings.register( + BooleanValue( + SOCIAL_SHARING, 'ENABLE_SHARING_TWITTER', default=True, description=_('Check to enable sharing of questions on Twitter') |