diff --git a/roomlist/accounts/views.py b/roomlist/accounts/views.py index 3e140ecde0caa45d0036d6160579bd96d1402b1b..072b3bdec0a12ca237acc48d0ee9df1956ed71f1 100644 --- a/roomlist/accounts/views.py +++ b/roomlist/accounts/views.py @@ -23,6 +23,7 @@ from ratelimit.decorators import ratelimit from .models import Student, Major, Confirmation from .forms import StudentUpdateForm, FarewellFeedbackForm from .student_messages import return_messages +from housing.models import Room from housing.views import shadowbanning @@ -92,6 +93,7 @@ def create_email(text_path, html_path, subject, to, context): msg.attach_alternative(html_content, 'text/html') return msg + # details about the student class DetailStudent(LoginRequiredMixin, DetailView): model = Student