diff --git a/cdhweb/events/models.py b/cdhweb/events/models.py index 7b01a3f0..4736f7ac 100644 --- a/cdhweb/events/models.py +++ b/cdhweb/events/models.py @@ -433,7 +433,7 @@ def get_context(self, request, semester=None, year=None): context["date_list"] = self.get_semester_date_list() return context - @re_path(r"^(?Pspring|summer|fall)-(?P\d{4})", name="by-semester") + @re_path(r"^(?Pspring|summer|fall)-(?P\d{4})/", name="by-semester") def by_semester(self, request, semester=None, year=None): context = self.get_context(request, semester=semester, year=int(year)) return self.render(request, context_overrides=context)