diff options
author | Leif Johansson <leifj@sunet.se> | 2011-02-01 09:07:22 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-02-01 09:07:22 +0100 |
commit | a20ff434501a099b259da903d88b47bb77e07469 (patch) | |
tree | 5749d274242a0e0882f9b3e6d6989f25c1d369cf /meetingtools/apps/room |
import
Diffstat (limited to 'meetingtools/apps/room')
-rw-r--r-- | meetingtools/apps/room/__init__.py | 0 | ||||
-rw-r--r-- | meetingtools/apps/room/admin.py | 10 | ||||
-rw-r--r-- | meetingtools/apps/room/models.py | 14 | ||||
-rw-r--r-- | meetingtools/apps/room/views.py | 0 |
4 files changed, 24 insertions, 0 deletions
diff --git a/meetingtools/apps/room/__init__.py b/meetingtools/apps/room/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/meetingtools/apps/room/__init__.py diff --git a/meetingtools/apps/room/admin.py b/meetingtools/apps/room/admin.py new file mode 100644 index 0000000..13d80a8 --- /dev/null +++ b/meetingtools/apps/room/admin.py @@ -0,0 +1,10 @@ +''' +Created on Jan 31, 2011 + +@author: leifj +''' + +from django.contrib import admin +from meetingtools.apps.room.models import Room + +admin.site.register(Room)
\ No newline at end of file diff --git a/meetingtools/apps/room/models.py b/meetingtools/apps/room/models.py new file mode 100644 index 0000000..f75478e --- /dev/null +++ b/meetingtools/apps/room/models.py @@ -0,0 +1,14 @@ +''' +Created on Jan 31, 2011 + +@author: leifj +''' + +from django.db import models +from django.db.models.fields import CharField, BooleanField, URLField + +class Room(models.Model): + name = CharField(max_length=128) + group = CharField(max_length=128) # populate from entitlement held by creator + resetWhenEmpty = BooleanField() + meetingRoomUrl = URLField()
\ No newline at end of file diff --git a/meetingtools/apps/room/views.py b/meetingtools/apps/room/views.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/meetingtools/apps/room/views.py |