From 09fccecd4a92e5dae693b66765ff8a306af46fb1 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 2 May 2011 20:25:51 +0200 Subject: less mandatory fields --- src/django_co_connector/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/django_co_connector') diff --git a/src/django_co_connector/models.py b/src/django_co_connector/models.py index 7a52660..e05884b 100644 --- a/src/django_co_connector/models.py +++ b/src/django_co_connector/models.py @@ -15,9 +15,9 @@ import logging class GroupConnector(models.Model): attribute = CharField(max_length=1024) value = CharField(max_length=1024) - activity_url = URLField(blank=True) - membership_url = URLField(blank=True) - ttl = IntegerField(blank=True) + activity_url = URLField(blank=True,null=True) + membership_url = URLField(blank=True,null=True) + ttl = IntegerField(blank=True,null=True) group = OneToOneField(Group,related_name='connector') modify_time = DateTimeField(auto_now=True) create_time = DateTimeField(auto_now_add=True) -- cgit v1.1