From 8c510ef0fae76362fb25a132eec42c9de90e9052 Mon Sep 17 00:00:00 2001 From: ayesha1145 <130880100+ayesha1145@users.noreply.github.com> Date: Tue, 17 Mar 2026 03:40:00 +0000 Subject: [PATCH] feat: add personalized course recommendation system for students --- web/templates/dashboard/recommendations.html | 52 ++++++++++ web/templates/dashboard/student.html | 37 +++++++ web/urls.py | 1 + web/views.py | 103 +++++++++++++++++++ 4 files changed, 193 insertions(+) create mode 100644 web/templates/dashboard/recommendations.html diff --git a/web/templates/dashboard/recommendations.html b/web/templates/dashboard/recommendations.html new file mode 100644 index 000000000..caca82e28 --- /dev/null +++ b/web/templates/dashboard/recommendations.html @@ -0,0 +1,52 @@ +{% extends "base.html" %} + +{% block title %}Course Recommendations{% endblock title %} + +{% block content %} +
Courses picked based on your learning interests and activity.
+ {% if recommendations %} +by {{ course.teacher.get_full_name|default:course.teacher.username }}
+No recommendations yet. Enroll in a course to get personalized suggestions!
+ + Browse Courses + +by {{ course.teacher.get_full_name|default:course.teacher.username }}
+ + View Course + +