Пример #1
0
async def login(request: Request):
    return TEMPLATES.TemplateResponse("log_in.html", {"request": request})
Пример #2
0
async def registration(request: Request):
    return TEMPLATES.TemplateResponse("registration.html", {"request": request})
Пример #3
0
async def about(request: Request):
    return TEMPLATES.TemplateResponse("pet/new_pet.html", {"request": request})
Пример #4
0
async def about(request: Request, id_: str):
    return TEMPLATES.TemplateResponse("pet/edit_petinfo.html", {"request": request})
Пример #5
0
async def about(request: Request, id_: str):
    return TEMPLATES.TemplateResponse("announcement/edit.html", {"request": request})
Пример #6
0
async def about(request: Request):
    return TEMPLATES.TemplateResponse("announcement/create.html", {"request": request})
Пример #7
0
async def messages(request: Request, id_: str):
    return TEMPLATES.TemplateResponse("show_message.html", {"request": request})
Пример #8
0
async def about(request: Request):
    return TEMPLATES.TemplateResponse("left_menu/contact.html", {"request": request})
Пример #9
0
async def messages(request: Request):
    return TEMPLATES.TemplateResponse("left_menu/message.html", {"request": request})
Пример #10
0
async def announcements(request: Request):
    return TEMPLATES.TemplateResponse("announcement/my_announcements.html", {"request": request})
Пример #11
0
async def profile(request: Request):
    return TEMPLATES.TemplateResponse("edit_userinfo.html", {"request": request})
Пример #12
0
async def profile(request: Request):
    return TEMPLATES.TemplateResponse("profile.html", {"request": request})
Пример #13
0
async def home(request: Request):
    return TEMPLATES.TemplateResponse("index.html", {"request": request})