Created
January 10, 2016 07:02
-
-
Save kemsakurai/703d48cdbc396835405e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mezzanine.conf import register_setting | |
########################### | |
# FOR CLEAN_BLOG SETTINGS # | |
########################### | |
register_setting( | |
name="TEMPLATE_ACCESSIBLE_SETTINGS", | |
description=("Sequence of setting names available within templates."), | |
editable=False, | |
default=("TWITTER_ACCOUNT_NAME", | |
"FACEBOOK_USER_NAME", | |
"GITHUB_USER_NAME", | |
), | |
append=True, | |
) | |
register_setting( | |
name="TWITTER_ACCOUNT_NAME", | |
description="Twitter account name SNS link of footer", | |
editable=True, | |
default="", | |
) | |
register_setting( | |
name="FACEBOOK_USER_NAME", | |
description="Facebook user name SNS link of footer", | |
editable=True, | |
default="", | |
) | |
register_setting( | |
name="GITHUB_USER_NAME", | |
description="Github user name SNS link of footer", | |
editable=True, | |
default="", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment