add section property to proposalbase
This commit is contained in:
parent
4ecb2272df
commit
7e7d85c7e7
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue