diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index bd7d3e8..15e9588 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -257,7 +257,7 @@ class Place(models.Model): def match(self, event): if self.aliases: - return event.location in self.aliases + return event.location.strip() in self.aliases else: return False