-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
30 lines (25 loc) · 968 Bytes
/
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
29
30
class Config:
"""
Use this class to share any default attributes with any subsequent
classes that inherit from Config.
"""
DEBUG = False
TESTING = False
# Only required when using the session object
# Generated with secrets.token_urlsafe(16)
# You could also use os.urandom(16)
SECRET_KEY = "11Fnw8U6DXrMFvbH9jCdZQ"
class ProductionConfig(Config):
"""
This class will inherit any attributes from the parent Config class.
Use this class to define production configuration atrributes, such
as database usernames, passwords, server specific files & directories etc.
"""
pass
class DevelopmentConfig(Config):
"""
This class will inherit any attributes from the parent Config class.
Use this class to define development configuration atrributes, such
as local database usernames, passwords, local specific files & directories etc.
"""
DEBUG = True