diff options
Diffstat (limited to 'src/meetingtools/apps/room/models.py')
-rw-r--r-- | src/meetingtools/apps/room/models.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/meetingtools/apps/room/models.py b/src/meetingtools/apps/room/models.py index 736c63f..a71e608 100644 --- a/src/meetingtools/apps/room/models.py +++ b/src/meetingtools/apps/room/models.py @@ -11,7 +11,7 @@ from django.db.models.fields.related import ForeignKey from django.contrib.auth.models import User from meetingtools.apps.cluster.models import ACCluster import time -from django_co_acls.models import AccessControlEntry +import tagging class Room(models.Model): creator = ForeignKey(User,editable=False) @@ -38,4 +38,6 @@ class Room(models.Model): if not self.lastvisited: return 0 else: - return int(time.mktime(self.lastvisited.timetuple())*1000)
\ No newline at end of file + return int(time.mktime(self.lastvisited.timetuple())*1000) + +tagging.register(Room)
\ No newline at end of file |