summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-02-09 12:44:44 +0100
committerLeif Johansson <leifj@sunet.se>2011-02-09 12:44:44 +0100
commit5ce8e3bad52f0a1a4b2bfb121495b0b3504a31ac (patch)
tree127db7e0cff44f1941bdc2b1b69994da7ccaf305 /src/meetingtools/apps
parent468d260b6ad144746993d95d810be04915f6fe14 (diff)
absolute url in goto
Diffstat (limited to 'src/meetingtools/apps')
-rw-r--r--src/meetingtools/apps/room/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index 7bdffc0..b610bb8 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -18,6 +18,7 @@ from meetingtools.utils import session
import time
from meetingtools.settings import GRACE
from django.utils.datetime_safe import datetime
+from django.http import HttpResponseRedirect
def _acc_for_user(user):
(local,domain) = user.username.split('@')
@@ -249,5 +250,5 @@ def goto(request,room):
r = client.request('sco-info',{'sco-id':room.sco_id})
urlpath = r.et.findtext('.//sco/url-path')
- return redirect_to(room.acc.url+urlpath)
+ return HttpResponseRedirect(room.acc.url+urlpath) #in this case we want the absolute URL
\ No newline at end of file