diff options
Diffstat (limited to 'src/meetingtools/apps/room/models.py')
-rw-r--r-- | src/meetingtools/apps/room/models.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/meetingtools/apps/room/models.py b/src/meetingtools/apps/room/models.py index 249b1bf..2177b24 100644 --- a/src/meetingtools/apps/room/models.py +++ b/src/meetingtools/apps/room/models.py @@ -12,7 +12,7 @@ from django.contrib.auth.models import User from meetingtools.apps.cluster.models import ACCluster import time import tagging -from meetingtools.settings import BASE_URL, LOCK_DIR +from meetingtools.settings import LOCK_DIR from django.db.models.signals import post_save from tagging.models import Tag import os @@ -102,16 +102,16 @@ class Room(models.Model): return int(time.mktime(self.lastupdated.timetuple())) def go_url(self): - return "%s/go/%s" % (BASE_URL,self.urlpath) + return "/go/%s" % self.urlpath def go_url_internal(self): - return "%s/go/%d" % (BASE_URL,self.id) + return "/go/%d" % self.id def permalink(self): - return "%s/room/%d" % (BASE_URL,self.id) + return "/room/%d" % self.id def recordings_url(self): - return "%s/room/%d/recordings" % (BASE_URL,self.id) + return "/room/%d/recordings" % self.id def nusers(self): if self.user_count == None: |