From 84541293340f28707f8907b416e9067e35f9fc9e Mon Sep 17 00:00:00 2001 From: Nikhil-Penn Date: Sun, 20 Oct 2024 17:28:50 +0000 Subject: [PATCH] idk man im confused --- backend/review/util.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/backend/review/util.py b/backend/review/util.py index 87dbb419..4042f760 100644 --- a/backend/review/util.py +++ b/backend/review/util.py @@ -88,24 +88,6 @@ def get_average_and_recent_dict_single(values_dict, extra_fields=None, **extra_f } -def course_is_hot(courseName, registrationMetrics): - - from courses.models import Course - - #hot_courses = Course.objects.filter(count_for_hot_course=threshold) - hot_courses = courseName - ############################################################### ^ this does not work - courses_data = [ - { - "full_code": course.full_code, - "title": course.title, - "count_for_hot_course": course.count_for_hot_course, - } - for course in hot_courses - ] - return(True) - - def get_historical_codes(topic, exclude_codes): historical_codes = dict()