Update app.py to reflect latest changes in API routing and error handling
This commit is contained in:
2
app.py
2
app.py
@@ -249,6 +249,8 @@ def dashboard(page=1):
|
||||
|
||||
end_time = time.time()
|
||||
print(f"Retrieved {len(paginated_rows)} projects from Firestore (page {page} of {total_pages}) in {end_time - start_time:.2f}s")
|
||||
from pprint import pprint
|
||||
pprint([p['property_contacts'] for p in paginated_rows if p['property_contacts'].get('propertyManager1', None)])
|
||||
|
||||
# Render table with pagination data
|
||||
return render_template("dashboard.html",
|
||||
|
||||
Reference in New Issue
Block a user