We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 038f1eb commit f219c90Copy full SHA for f219c90
app/config.py
@@ -0,0 +1,18 @@
1
+# -*- encoding: utf-8 -*-
2
+"""
3
+Copyright (c) 2019 - present AppSeed.us
4
5
+
6
+import os
7
8
+# Grabs the folder where the script runs.
9
+basedir = os.path.abspath(os.path.dirname(__file__))
10
11
+class Config():
12
13
+ # Set up the App SECRET_KEY
14
+ SECRET_KEY = 'S_U_perS3crEt_KEY#9999'
15
16
+ # This will create a file in <app> FOLDER
17
+ SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'db.sqlite3')
18
+ SQLALCHEMY_TRACK_MODIFICATIONS = False
0 commit comments