Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 99c92c11

Přidáno uživatelem Matěj Zeman před asi 2 roky(ů)

re #9429 Added class and funcionality for Teams table. Modified date parsing and storing. Modified View at /usb-logs/. Replaced "_" with "-" in all endpoints.

Zobrazit rozdíly:

server/sql_app/api/devices.py
23 23
        db.close()
24 24

  
25 25

  
26
@device.get("/devices_web/", response_class=HTMLResponse)
26
@device.get("/devices-web/", response_class=HTMLResponse)
27 27
async def read_devices(request: Request, skip: int = 0, limit: int = 100, db: Session = Depends(get_db)):
28 28
    devices = crud.get_devices(db, skip=skip, limit=limit)
29 29
    return templates.TemplateResponse("devices.html", {"request": request, "devs": devices})

Také k dispozici: Unified diff