Skip to content

Commit 8936416

Browse files
committed
Disable google wallet + add env
1 parent 662e469 commit 8936416

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.env.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ CAS_SERVER=""
1414
OIDC_DISCOVERY_ENDPOINT=""
1515
POSTGRES_PORT="5432"
1616
MYHACKUPC_PORT="8000"
17+
GOOGLE_WALLET_ISSUER_ID=""
18+
GOOGLE_WALLET_CLASS_SUFFIX=""
19+
GOOGLE_WALLET_APPLICATION_CREDENTIALS="/path/to/credentials.json" # remember to allow read perms

app/settings.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
'corsheaders',
5959
]
6060

61-
GOOGLE_WALLET_ENABLED=True #Set to false to disable google wallet
61+
GOOGLE_WALLET_ENABLED = False # Set to false to disable google wallet
6262

6363
if BAGGAGE_ENABLED:
6464
INSTALLED_APPS.append('baggage')
@@ -200,7 +200,7 @@
200200
try:
201201
HACKATHON_DEV_EMAILS.append(os.environ['ADMIN_EMAIL'])
202202
except NameError:
203-
HACKATHON_DEV_EMAILS = [os.environ['ADMIN_EMAIL'],]
203+
HACKATHON_DEV_EMAILS = [os.environ['ADMIN_EMAIL'], ]
204204

205205
# File upload configuration
206206
MEDIA_ROOT = 'files'
@@ -294,9 +294,9 @@
294294
MAX_VOTES_TO_APP = 30
295295

296296
APPLICATION_EXPIRATION_TYPES = {
297-
'H': True, # Hacker allways expire, do not change this
298-
'M': MENTOR_EXPIRES, # Mentor can expire
299-
'V': VOLUNTEER_EXPIRES, # Volunteer can expire
297+
'H': True, # Hacker allways expire, do not change this
298+
'M': MENTOR_EXPIRES, # Mentor can expire
299+
'V': VOLUNTEER_EXPIRES, # Volunteer can expire
300300
}
301301

302302
MEALS_TOKEN = os.environ.get('MEALS_TOKEN', None)

0 commit comments

Comments
 (0)