From e52c18a09cabd374093b06ef0f521767cd228ba6 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 24 Jun 2020 23:39:05 +0530 Subject: make it better --- app/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/__init__.py (limited to 'app/__init__.py') diff --git a/app/__init__.py b/app/__init__.py new file mode 100644 index 0000000..d2b7088 --- /dev/null +++ b/app/__init__.py @@ -0,0 +1,13 @@ +from flask import Flask + +# Config Values +# location where file uploads will be stored +UPLOAD_FOLDER = './app/static/uploads' +# needed for session security, the flash() method in this case stores the message +# in a session +SECRET_KEY = 'Sup3r$3cretkey' + +app = Flask(__name__) +app.config.from_object(__name__) + +from app import views \ No newline at end of file -- cgit v1.2.3