Spaces:
Paused
Paused
Commit
·
c54ad0d
1
Parent(s):
da815dd
updated
Browse files- .gitignore +1 -1
- app.py +1 -1
.gitignore
CHANGED
@@ -9,7 +9,7 @@ venv/
|
|
9 |
env/
|
10 |
ENV/
|
11 |
.Python
|
12 |
-
|
13 |
# IDEs and editors
|
14 |
.idea/
|
15 |
.vscode/
|
|
|
9 |
env/
|
10 |
ENV/
|
11 |
.Python
|
12 |
+
*.zip
|
13 |
# IDEs and editors
|
14 |
.idea/
|
15 |
.vscode/
|
app.py
CHANGED
@@ -51,7 +51,7 @@ app.config['SECRET_KEY'] = 'your-secret-key'
|
|
51 |
# SQLite URI (e.g. `sqlite:///relative/path.db`). Here we use four
|
52 |
# leading slashes because the path is relative to the project
|
53 |
# directory when using `sqlite:///backend/instance/codingo.db`.
|
54 |
-
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite
|
55 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
56 |
from flask_wtf.csrf import CSRFProtect
|
57 |
|
|
|
51 |
# SQLite URI (e.g. `sqlite:///relative/path.db`). Here we use four
|
52 |
# leading slashes because the path is relative to the project
|
53 |
# directory when using `sqlite:///backend/instance/codingo.db`.
|
54 |
+
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///./codingo.db'
|
55 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
56 |
from flask_wtf.csrf import CSRFProtect
|
57 |
|