Skip to content

Commit

Permalink
fixing email urls, closes #86
Browse files Browse the repository at this point in the history
  • Loading branch information
orzubalsky committed Feb 1, 2014
1 parent d2b6218 commit a12d554
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ts/apps/tradeschool/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ def branch_url(self):
"""
Url for the branch's website
"""
return "%s%s" % (
return "http://%s%s" % (
self.domain, reverse_lazy('course-list', kwargs={
'branch_slug': self.slug
})
Expand Down Expand Up @@ -2222,7 +2222,7 @@ def student_feedback_url(self):
"""
Returns URL for students to leave feedback for a scheduled class.
"""
return "%s%s" % (
return "http://%s%s" % (
self.branch.domain, reverse_lazy('course-feedback', kwargs={
'branch_slug': self.branch.slug,
'course_slug': self.slug,
Expand All @@ -2235,7 +2235,7 @@ def teacher_feedback_url(self):
"""
Returns URL for teachers to leave feedback for a scheduled class.
"""
return "%s%s" % (
return "http://%s%s" % (
self.branch.domain, reverse_lazy('course-feedback', kwargs={
'branch_slug': self.branch.slug,
'course_slug': self.slug,
Expand All @@ -2248,7 +2248,7 @@ def course_edit_url(self):
"""
Returns URL for teachers to edit a scheduled class.
"""
return "%s%s" % (
return "http://%s%s" % (
self.branch.domain, reverse_lazy('course-edit', kwargs={
'branch_slug': self.branch.slug,
'course_slug': self.slug,
Expand Down Expand Up @@ -2743,7 +2743,7 @@ def unregister_url(self):
"""
domain = self.course.branch.domain

return "%s%s" % (
return "http://%s%s" % (
domain, reverse_lazy('course-unregister', kwargs={
'branch_slug': self.course.branch.slug,
'course_slug': self.course.slug,
Expand Down

0 comments on commit a12d554

Please sign in to comment.