Changes: transcription

This commit is contained in:
2021-10-08 09:44:50 +02:00
parent 21e2fc7a24
commit 757d8aeadf
5 changed files with 99 additions and 41 deletions
+6 -1
View File
@@ -6,7 +6,12 @@
# ---- example index page ----
def index():
return dict(u1="Überschrift 1", u2="Überschrift 2")
images = db().select(db.image.ALL, orderby=db.image.title)
return dict(images=images)
def manage():
grid = SQLFORM.smartgrid(db.image, linked_tables=['post'])
return dict(grid=grid)
# ---- API (example) -----
@auth.requires_login()