make format diagonalley

This commit is contained in:
Tiago vasconcelos
2022-08-16 12:19:31 +01:00
parent 39bae68b1c
commit 58b046254f
8 changed files with 1037 additions and 978 deletions
+3 -2
View File
@@ -34,16 +34,17 @@ async def display(request: Request, stall_id):
stall = stall.dict()
del stall["privatekey"]
return diagonalley_renderer().TemplateResponse(
"diagonalley/stall.html",
{
"request": request,
"stall": stall,
"products": [product.dict() for product in products]
"products": [product.dict() for product in products],
},
)
# @diagonalley_ext.get("/market/{market_id}", response_class=HTMLResponse)
# async def display(request: Request, stall_id):
# stalls = await get_diagonalley_stall(stall_id)