Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac-Flath committed Dec 24, 2024
1 parent a4e5dfe commit 6d92ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/todo_series/beginner/app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from fasthtml.common import *
from fastsql import *
from sqlite_minutils.db import NotFoundError
from apswutils.db import NotFoundError

app,rt,todos,Todo = fast_app(
'data/todos.db',
Expand Down Expand Up @@ -42,4 +42,4 @@ async def insert_todo(todo:Todo):
return mk_input(hx_swap_oob='true')
return todos.insert(todo), mk_input( hx_swap_oob='true')

serve()
serve()

0 comments on commit 6d92ea0

Please sign in to comment.