mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Always process tasks through celery (#245)
This commit is contained in:
@@ -500,7 +500,7 @@ class OrderDownload(EventViewMixin, OrderDetailMixin, View):
|
||||
cf.save()
|
||||
ct.cachedfile = cf
|
||||
ct.save()
|
||||
generate(self.order.id, self.output.identifier)
|
||||
generate.apply_async(args=(self.order.id, self.output.identifier))
|
||||
return redirect(reverse('cachedfile.download', kwargs={'id': ct.cachedfile.id}))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user