From a20ff434501a099b259da903d88b47bb77e07469 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 1 Feb 2011 09:07:22 +0100 Subject: import --- meetingtools/apps/__init__.py | 0 meetingtools/apps/room/__init__.py | 0 meetingtools/apps/room/admin.py | 10 ++++++++++ meetingtools/apps/room/models.py | 14 ++++++++++++++ meetingtools/apps/room/views.py | 0 5 files changed, 24 insertions(+) create mode 100644 meetingtools/apps/__init__.py create mode 100644 meetingtools/apps/room/__init__.py create mode 100644 meetingtools/apps/room/admin.py create mode 100644 meetingtools/apps/room/models.py create mode 100644 meetingtools/apps/room/views.py (limited to 'meetingtools/apps') diff --git a/meetingtools/apps/__init__.py b/meetingtools/apps/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/meetingtools/apps/room/__init__.py b/meetingtools/apps/room/__init__.py new file mode 100644 index 0000000..e69de29 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 -- cgit v1.1