Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roomlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
roomlist
Commits
db9313f2
Commit
db9313f2
authored
Oct 15, 2016
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed import error for room selection
parent
b3761d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
roomlist/accounts/views.py
roomlist/accounts/views.py
+2
-0
No files found.
roomlist/accounts/views.py
View file @
db9313f2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment