Update example settings

This commit is contained in:
Yingtong Li 2019-05-05 20:08:35 +10:00
parent 97794b521f
commit 664a31500f
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -20,11 +20,13 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = None # IMPORTANT: Set this to a secret string
SECRET_KEY_MEMBERSIG = None # IMPORTANT: Set this to a secret string
DEBUG = True
ALLOWED_HOSTS = []
ORG_NAME = 'Society'
PROMO_LOGO_URL = 'https://placehold.it/2000x500'
PROMO_LOGO_LINK = 'https://example.com'
PROMO_GROUPS_MANDATORY = ['All Years']
@ -34,6 +36,7 @@ PROMO_GROUPS_MANDATORY = ['All Years']
INSTALLED_APPS = [
'ssmain',
'sstreasury',
'ssmembership',
'sspromotions',
'django.contrib.admin',
'django.contrib.auth',
@ -128,6 +131,13 @@ SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = None # FIXME
GOOGLE_API_KEY = None # FIXME
GOOGLE_CALENDAR_ID = None # FIXME
AWS_KEY_ID = None # FIXME
AWS_SECRET = None # FIXME
AWS_REGION = 'us-east-1'
AWS_SENDER_EMAIL = 'example@example.com'
RATELIMIT_KEY = 'ip' # https://django-ratelimit.readthedocs.io/en/stable/keys.html#common-keys e.g. 'header:CF-Connecting-IP'
SOCIAL_AUTH_PIPELINE = (
'social_core.pipeline.social_auth.social_details',
'social_core.pipeline.social_auth.social_uid',