Add new bundled plugin "returnurl"

This commit is contained in:
Raphael Michel
2019-08-13 11:56:39 +02:00
parent 985f354293
commit d972cd4c49
10 changed files with 207 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ from pretix.presale.views.robots import NoSearchIndexViewMixin
class OrderDetailMixin(NoSearchIndexViewMixin):
@cached_property
def order(self):
order = self.request.event.orders.filter(code=self.kwargs['order']).select_related('event').first()