stash
This commit is contained in:
parent
ec1cdfd4f5
commit
c6ddbfe7b8
3 changed files with 23 additions and 2 deletions
|
@ -32,7 +32,7 @@ class Email(SoftDeleteModel):
|
|||
|
||||
class EventAddress(models.Model):
|
||||
id = models.AutoField(primary_key=True)
|
||||
event = models.ForeignKey(Event, models.SET_NULL, null=True)
|
||||
event = models.ForeignKey(Event, models.SET_NULL, null=True, related_name='addresses')
|
||||
address = models.CharField(max_length=255)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue