summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/cluster/models.py
blob: 7dba80e6e3cfe173ade61274c516e5e97f5e4fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'''
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()
    
    def __unicode__(self):
        return self.url