Revize 99c92c11
Přidáno uživatelem Matěj Zeman před asi 2 roky(ů)
server/sql_app/api/pcs.py | ||
---|---|---|
23 | 23 |
db.close() |
24 | 24 |
|
25 | 25 |
|
26 |
@pcs.get("/pcs_web/", response_class=HTMLResponse)
|
|
26 |
@pcs.get("/pcs-web/", response_class=HTMLResponse)
|
|
27 | 27 |
async def read_pcs(request: Request, skip: int = 0, limit: int = 100, db: Session = Depends(get_db)): |
28 | 28 |
pcs = crud.get_pcs(db, skip=skip, limit=limit) |
29 | 29 |
return templates.TemplateResponse("pcs.html", {"request": request, "pcs": pcs}) |
Také k dispozici: Unified diff
re #9429 Added class and funcionality for Teams table. Modified date parsing and storing. Modified View at /usb-logs/. Replaced "_" with "-" in all endpoints.