diff options
Diffstat (limited to 'src/meetingtools/apps/cluster')
-rw-r--r-- | src/meetingtools/apps/cluster/__init__.py | 0 | ||||
-rw-r--r-- | src/meetingtools/apps/cluster/admin.py | 10 | ||||
-rw-r--r-- | src/meetingtools/apps/cluster/models.py | 16 |
3 files changed, 26 insertions, 0 deletions
diff --git a/src/meetingtools/apps/cluster/__init__.py b/src/meetingtools/apps/cluster/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/meetingtools/apps/cluster/__init__.py diff --git a/src/meetingtools/apps/cluster/admin.py b/src/meetingtools/apps/cluster/admin.py new file mode 100644 index 0000000..3fc9eea --- /dev/null +++ b/src/meetingtools/apps/cluster/admin.py @@ -0,0 +1,10 @@ +''' +Created on Jan 31, 2011 + +@author: leifj +''' + +from django.contrib import admin +from meetingtools.apps.cluster.models import ACCluster + +admin.site.register(ACCluster)
\ No newline at end of file diff --git a/src/meetingtools/apps/cluster/models.py b/src/meetingtools/apps/cluster/models.py new file mode 100644 index 0000000..9748073 --- /dev/null +++ b/src/meetingtools/apps/cluster/models.py @@ -0,0 +1,16 @@ +''' +Created on Feb 3, 2011 + +@author: leifj +''' + +from django.db import models +from django.db.models.fields import CharField, URLField, TextField + +class ACCluster(models.Model): + api_url = URLField() + url = URLField() + user = CharField(max_length=128) + password = CharField(max_length=128) + name = CharField(max_length=128,blank=True,unique=True) + domain_match = TextField()
\ No newline at end of file |