From c33af4c971f26fcf3e7eb61a6c3dd8e8af8418a6 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 11:06:55 +0100 Subject: restructure --- src/meetingtools/apps/cluster/__init__.py | 0 src/meetingtools/apps/cluster/admin.py | 10 ++++++++++ src/meetingtools/apps/cluster/models.py | 16 ++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 src/meetingtools/apps/cluster/__init__.py create mode 100644 src/meetingtools/apps/cluster/admin.py create mode 100644 src/meetingtools/apps/cluster/models.py (limited to 'src/meetingtools/apps/cluster') diff --git a/src/meetingtools/apps/cluster/__init__.py b/src/meetingtools/apps/cluster/__init__.py new file mode 100644 index 0000000..e69de29 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 -- cgit v1.1