Make locations distinguishable
This commit is contained in:
parent
734c810cff
commit
026324802b
|
@ -331,7 +331,7 @@ class EventLocation(CampRelatedModel):
|
||||||
)
|
)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return '{} ({})'.format(self.name, self.camp)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = (('camp', 'slug'), ('camp', 'name'))
|
unique_together = (('camp', 'slug'), ('camp', 'name'))
|
||||||
|
|
Loading…
Reference in a new issue