add section property to proposalbase

This commit is contained in:
Luke Hatcher 2012-08-30 22:55:20 -04:00
parent 4ecb2272df
commit 7e7d85c7e7

View file

@ -106,6 +106,10 @@ class ProposalBase(models.Model):
def can_edit(self):
return True
@property
def section(self):
return self.kind.section
@property
def speaker_email(self):
return self.speaker.email