Persistance.

This commit is contained in:
retoor 2025-01-27 01:06:13 +01:00
parent 87895a72d3
commit aec9ffd1a1
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
.resources .resources
.backup* .backup*
docs docs
snek.d*
*.db* *.db*
*.png *.png
# ---> Python # ---> Python

View File

@ -107,7 +107,7 @@ class Application(BaseApplication):
return await super().render_template(template, request, context) return await super().render_template(template, request, context)
app = Application() app = Application(db_path="sqlite:///snek.db")
if __name__ == "__main__": if __name__ == "__main__":