Move db
This commit is contained in:
parent
1761cd42df
commit
89f29e649a
2 changed files with 4 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -195,7 +195,7 @@ pytestdebug.log
|
|||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db/
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
|
@ -272,4 +272,4 @@ dmypy.json
|
|||
# End of https://www.toptal.com/developers/gitignore/api/osx,pycharm,python
|
||||
|
||||
.idea
|
||||
db/
|
||||
static/
|
||||
|
|
|
@ -2,8 +2,8 @@ import sqlite3
|
|||
|
||||
|
||||
def main():
|
||||
writefreely = sqlite3.connect("writefreely.db")
|
||||
db = sqlite3.connect("db.sqlite3")
|
||||
writefreely = sqlite3.connect("db/writefreely.db")
|
||||
db = sqlite3.connect("db/db.sqlite3")
|
||||
writefreely_c = writefreely.cursor()
|
||||
db_c = db.cursor()
|
||||
writefreely_c.execute(
|
||||
|
|
Reference in a new issue