diff options
Diffstat (limited to 'meetingtools/apps/room/models.py')
-rw-r--r-- | meetingtools/apps/room/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meetingtools/apps/room/models.py b/meetingtools/apps/room/models.py index 86acbc4..12f4b1d 100644 --- a/meetingtools/apps/room/models.py +++ b/meetingtools/apps/room/models.py @@ -35,12 +35,14 @@ class FileLock(object): def __delete__(self): raise AttributeError + class RoomLockedException(Exception): def __init__(self, value): self.value = value def __str__(self): return repr(self.value) + class Room(models.Model): creator = ForeignKey(User,editable=False) name = CharField(max_length=128) |