Make locations distinguishable

This commit is contained in:
Víðir Valberg Guðmundsson 2017-07-12 11:36:23 +02:00
parent 734c810cff
commit 026324802b

View file

@ -331,7 +331,7 @@ class EventLocation(CampRelatedModel):
)
def __str__(self):
return self.name
return '{} ({})'.format(self.name, self.camp)
class Meta:
unique_together = (('camp', 'slug'), ('camp', 'name'))