-
Notifications
You must be signed in to change notification settings - Fork 0
/
appengine_config.py
28 lines (24 loc) · 1.17 KB
/
appengine_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'''
Copyright 2015 Singapore Management University
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was
not distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
'''
# suggestion: generate your own random key using os.urandom(64)
# WARNING: Make sure you run os.urandom(64) OFFLINE and copy/paste the output to
# this file. If you use os.urandom() to *dynamically* generate your key at
# runtime then any existing sessions will become junk every time you start,
# deploy, or update your app!
import os
def webapp_add_wsgi_middleware(app):
from google.appengine.ext.appstats import recording
app = recording.appstats_wsgi_middleware(app)
return app
class _ConfigDefaults(object):
ksketch_SENDGRID_username = '' # Enter your sendgrid.com username here
ksketch_SENDGRID_password = '' # Enter your sendgrid.com password here
ksketch_EMAIL = '[email protected]' # Enter your email id here
ksketch_HOSTNAME = 'localhost:8080' # Enter your hostname here
ksketch_LIST_DELETE_REQUIRE_AUTH = True
ksketch_CRYPTO_KEY = '' # Enter your crypto key here