mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Django's new URLconfig style allows us to no longer ignore PEP8s error
E128
This commit is contained in:
@@ -76,7 +76,7 @@ class CartDisplayMixin:
|
||||
# Django is unable to join related models in a .values() query
|
||||
def keyfunc(pos):
|
||||
if answers and ((pos.item.admission and self.request.event.settings.attendee_names_asked == 'True')
|
||||
or pos.item.questions.all()):
|
||||
or pos.item.questions.all()):
|
||||
return pos.id, "", "", ""
|
||||
return "", pos.item_id, pos.variation_id, pos.price
|
||||
|
||||
|
||||
Reference in New Issue
Block a user