Skip to content

Commit dbf55ae

Browse files
committed
Adding comments for more information
1 parent 4451a49 commit dbf55ae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ class Config:
22
"""Set Flask configuration vars from .env file."""
33

44
# General Config
5-
SECRET_KEY = 'super_secret_key'
5+
SECRET_KEY = 'super_secret_key' # Setting it as an environment variable is recommended
66

77
# Flask-Session
8-
SESSION_TYPE = 'filesystem'
8+
SESSION_TYPE = 'filesystem' # You can choose between Redis, SqlAlchemy, MongoDB or memcachec
9+
# There are other configuration options which can be used for a more customized application
10+
# More information about this can be found here : https://pythonhosted.org/Flask-Session/

0 commit comments

Comments
 (0)