Persistance.
This commit is contained in:
parent
87895a72d3
commit
aec9ffd1a1
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@
|
||||
.resources
|
||||
.backup*
|
||||
docs
|
||||
snek.d*
|
||||
*.db*
|
||||
*.png
|
||||
# ---> Python
|
||||
|
@ -107,7 +107,7 @@ class Application(BaseApplication):
|
||||
return await super().render_template(template, request, context)
|
||||
|
||||
|
||||
app = Application()
|
||||
app = Application(db_path="sqlite:///snek.db")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user