Skip to content

Commit

Permalink
idk man im confused
Browse files Browse the repository at this point in the history
  • Loading branch information
nruia-penn committed Oct 20, 2024
1 parent 6a071c3 commit 8454129
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions backend/review/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8454129

Please sign in to comment.