diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-02 20:25:51 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-02 20:25:51 +0200 |
commit | 09fccecd4a92e5dae693b66765ff8a306af46fb1 (patch) | |
tree | 2954ab3e7bef8eb769abd27fddcda73146bd323c | |
parent | 28ce8f754633bbe3fa411f1e87d4d4caf3976ba7 (diff) |
less mandatory fields
-rw-r--r-- | src/django_co_connector/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |