Invalidate ticket cache after a change in events or subevents

This commit is contained in:
Raphael Michel
2021-02-09 18:33:04 +01:00
parent b630174f72
commit 9472d81e55
2 changed files with 3 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ class EventUpdate(DecoupleMixin, EventSettingsViewMixin, EventPermissionRequired
for k in form.changed_data
})
tickets.invalidate_cache.apply_async(kwargs={'event': self.request.event.pk})
if change_css:
regenerate_css.apply_async(args=(self.request.event.pk,))
messages.success(self.request, _('Your changes have been saved. Please note that it can '