tryiong to fix the details page

This commit is contained in:
2025-09-29 14:07:35 -07:00
parent 4a3ab4042a
commit 3ecc3aa5dd
2 changed files with 3 additions and 2 deletions

View File

@@ -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