From 4dccf3f3a8b06d47122e8e9ac995af0eee9bcec7 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 10 May 2011 09:43:55 +0200 Subject: user_count and description --- src/meetingtools/apps/room/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/meetingtools/apps/room/models.py b/src/meetingtools/apps/room/models.py index 6272212..736c63f 100644 --- a/src/meetingtools/apps/room/models.py +++ b/src/meetingtools/apps/room/models.py @@ -5,7 +5,8 @@ Created on Jan 31, 2011 ''' from django.db import models -from django.db.models.fields import CharField, BooleanField, IntegerField +from django.db.models.fields import CharField, BooleanField, IntegerField,\ + TextField from django.db.models.fields.related import ForeignKey from django.contrib.auth.models import User from meetingtools.apps.cluster.models import ACCluster @@ -21,6 +22,8 @@ class Room(models.Model): sco_id = IntegerField(verbose_name="Adobe Connect Room") source_sco_id = IntegerField(verbose_name="Template",blank=True,null=True) folder_sco_id = IntegerField(verbose_name="Adobe Connect Room Folder",editable=False) + description = TextField(blank=True,null=True) + user_count = IntegerField(verbose_name="User Count At Last Visit",editable=False,blank=True,null=True) timecreated = models.DateTimeField(auto_now_add=True) lastupdated = models.DateTimeField(auto_now=True) lastvisited = models.DateTimeField(blank=True,null=True) -- cgit v1.1