from django.db import models # Create your models here. class HHSPoll(models.Model): want_committee = models.BooleanField(verbose_name = "I support the proposal that the AWWCA form a committee to gather information on Hamilton Health Sciences' proposed changes to medical services in our community that are currently provided by McMaster University Medical Centre. In particular, the committee should gather information on the proposal to close the Emergency Unit at MUMC to adults. ", help_text = "Check the box for 'Yes', leave unchecked for 'No'") resident_question = models.BooleanField(verbose_name = "I live in Ainslie Wood or Westdale.", help_text = "Check the box for 'Yes', leave unchecked for 'No'") ip = models.IPAddressField(null=True) vote_date = models.DateField(null=True) class Admin: pass def __unicode__(self): return unicode(self.want_committee) + " " + unicode(self.resident_question) visible_fields = ('want_committee', 'resident_question')