diff --git a/main.py b/main.py index 35fe72b..e259721 100755 --- a/main.py +++ b/main.py @@ -514,6 +514,9 @@ def reports_page() -> str: missing_event_date=model.Event.query.filter( model.Event.event_date.is_(None) ).order_by(model.Event.title), + no_venue_count=model.Conference.query.filter( + model.Conference.venue_id.is_(None), model.Conference.online.isnot(True) + ).count(), ) diff --git a/templates/reports.html b/templates/reports.html index 9a0f159..39fecde 100644 --- a/templates/reports.html +++ b/templates/reports.html @@ -13,6 +13,7 @@
Speakers with no bio: {{ "{:,d}".format(no_bio_count) }}
Speakers with one bio: {{ "{:,d}".format(one_bio_count) }}
Speakers with more than one bio: {{ "{:,d}".format(multiple_bio_count) }}
+
Conferences without a venue: {{ "{:,d}".format(no_venue_count) }}

Talks with missing dates