From 31a98f86c3930c27e11532623554d11f92686268 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Wed, 23 Sep 2015 23:11:58 -0400 Subject: [PATCH] Added corp toggle variable and updated descriptions --- alliance_auth/settings.py.example | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/alliance_auth/settings.py.example b/alliance_auth/settings.py.example index 7c9d832a..06589f99 100755 --- a/alliance_auth/settings.py.example +++ b/alliance_auth/settings.py.example @@ -150,6 +150,16 @@ STATIC_URL = '/static/' ## ##################################################### +########################### +# ALLIANCE / CORP TOGGLE +########################### +# Specifies to run membership checks against corp or alliance +# Set to FALSE for alliance +# Set to TRUE for corp +########################### +IS_CORP = False + + ################# # EMAIL SETTINGS ################# @@ -205,7 +215,7 @@ ENABLE_BLUE_IPBOARD = 'True' == os.environ.get('AA_ENABLE_BLUE_IPBOARD', 'False' ENABLE_BLUE_TEAMSPEAK3 = 'True' == os.environ.get('AA_ENABLE_BLUE_TEAMSPEAK3', 'False') ######################### -# Alliance Configuration +# Corp Configuration ######################### # CORP_ID - Set this to your corp ID (get this from https://zkillboard.com/corporation/#######) # CORP_NAME - Set this to your Corporation Name @@ -219,6 +229,19 @@ CORP_API_ID = os.environ.get('AA_CORP_API_ID', '') CORP_API_VCODE = os.environ.get('AA_CORP_API_VCODE', '') BLUE_STANDING = float(os.environ.get('AA_BLUE_STANDING', '5.0')) +######################### +# Alliance Configuration +######################### +# ALLIANCE_ID - Set this to your corp ID (get this from https://zkillboard.com/corporation/#######) +# ALLIANCE_NAME - Set this to your Corporation Name +# ALLIANCE_API_ID - Set this to the api id for the corp API key +# ALLIANCE_API_VCODE - Set this to the api vcode for the corp API key +# BLUE_STANDING - The default lowest standings setting to consider blue +######################## +ALLIANCE_ID = os.environ.get('AA_ALLIANCE_ID', '') +ALLIANCE_NAME = os.environ.get('AA_ALLIANCE_NAME', '') + + ##################### # HR Configuration #####################