mirror of
https://github.com/pretix/pretix.git
synced 2026-08-17 11:56:27 +00:00
WIP
This commit is contained in:
@@ -49,7 +49,7 @@ class WalletLayoutSerializer(I18nAwareModelSerializer):
|
||||
style = platform_styles[data["style"]]
|
||||
|
||||
layout = PassLayout(style=style, layout=data["layout"])
|
||||
context = {"placeholders": {k: {"content": v['content']} for k,v in get_layout_variables(self.context['event']).items()}}
|
||||
context = {"placeholders": get_layout_variables(self.context['event'])}
|
||||
layout.validate(context=context)
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user