husseinelsaadi commited on
Commit
c54ad0d
·
1 Parent(s): da815dd
Files changed (2) hide show
  1. .gitignore +1 -1
  2. 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:///backend/instance/codingo.db'
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