Skip to content

Commit 09a650a

Browse files
committed
disabled c&s query temp
1 parent 324ae0d commit 09a650a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

mps_site/views.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,13 @@ def index(request):
1616
video = get_latest_video_id("https://www.youtube.com/feeds/videos.xml?channel_id=UCEnLsvcq1eFkSFFAIqBDgUw")
1717
posts = tcv_posts("https://thecollegeview.ie/wp-json/wp/v2/posts?per_page=3&orderby=date&_fields=id,date,title,content,link,author,featured_media")
1818
previous, current, next_show = get_date_time()
19-
events = get_event_data()
20-
print(events)
21-
event_range = range(events['event_count'])
19+
#events = get_event_data()
2220

2321
return render(request, 'index.html',
2422
{'stats_data': homepage_stats_data,
2523
'subgroups_data': homepage_subgroups,
2624
'merch': homepage_merch,
27-
'events': events,
28-
'event_range': event_range,
25+
#'events': events,
2926
'page_name': 'Home',
3027
'latest_video_id' : video,
3128
'previous_show': previous,

0 commit comments

Comments
 (0)