Commits

Colin Copeland committed 4bdcb98

don't require committee type

Comments (0)

Files changed (1)

committees/models.py

 
 
 class Committee(models.Model):
-    type = models.ForeignKey(CommitteeType, related_name='committees')
+    type = models.ForeignKey(CommitteeType, related_name='committees',
+                             null=True, blank=True)
     name = models.CharField(max_length=255)
     slug = models.SlugField(max_length=255, unique=True)
     description = models.TextField(blank=True)