add foreign key to presentation
This commit is contained in:
parent
7e7d85c7e7
commit
40aede0839
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ class Presentation(models.Model):
|
|||
additional_speakers = models.ManyToManyField("speakers.Speaker", blank=True)
|
||||
cancelled = models.BooleanField(default=False)
|
||||
_proposal = models.OneToOneField(ProposalBase, related_name="presentation")
|
||||
section = models.ForeignKey(Section, related_name="presentations")
|
||||
|
||||
@property
|
||||
def proposal(self):
|
||||
|
|
Loading…
Reference in a new issue