This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
1 |
|
2 |
class DefaultConfig(): |
3 |
|
4 |
""" |
5 |
Default configuration for Sweet Store application |
6 |
Copy this sample_config.py file to config.py and edit the values to your |
7 |
requirements |
8 |
""" |
9 |
|
10 |
# You can turn debug to False in production |
11 |
DEBUG = True # False |
12 |
|
13 |
# Secret key needed by the Flask application to create sessions |
14 |
SECRET_KEY = '<generate a long, random, unique string and put it here. see\ |
15 |
python uuid>' |
16 |
|
17 |
# the sqlalchemy database URI |
18 |
SQLALCHEMY_DATABASE_URI =\ |
19 |
'dialect+driver://username:password@host:port/database' |
20 |
|
21 |
# sqlalchemy debug messages; turn to False in prdocution |
22 |
SQLALCHEMY_ECHO = True #False |
23 |
|
24 |
#DEFAULT_MAIL_SENDER = 'support@swtr.us' |
25 |
|
26 |
# Configure your log paths |
27 |
DEBUG_LOG = 'logs/debug.log' |
28 |
ERROR_LOG = 'logs/error.log' |
29 |
|
30 |
# The Mozilla Persona Verifier Host. Leave it as it is. |
31 |
MOZ_PERSONA_VERIFIER = 'https://verifier.login.persona.org/verify' |