diff options
Diffstat (limited to 'src/meetingtools/apps')
-rw-r--r-- | src/meetingtools/apps/room/views.py | 3 |
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 |