mirror of
https://github.com/sstent/foodplanner.git
synced 2026-03-20 04:05:27 +00:00
tryiong to fix the details page
This commit is contained in:
1
main.py
1
main.py
@@ -1997,6 +1997,7 @@ async def remove_from_plan(plan_id: int, db: Session = Depends(get_db)):
|
||||
@app.get("/detailed", response_class=HTMLResponse)
|
||||
async def detailed(request: Request, person: str = "Sarah", plan_date: str = None, template_id: int = None, db: Session = Depends(get_db)):
|
||||
from datetime import datetime, date
|
||||
logging.info(f"DEBUG: Detailed page requested with url: {request.url.path}, query_params: {request.query_params}")
|
||||
logging.info(f"DEBUG: Detailed page requested with person={person}, plan_date={plan_date}, template_id={template_id}")
|
||||
|
||||
# Get all templates for the dropdown
|
||||
|
||||
Reference in New Issue
Block a user