mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Performance: Replace inlinestyler with css_inline; Add drf-ujson (#2123)
This commit is contained in:
@@ -54,8 +54,8 @@ class SettingsSerializer(serializers.Serializer):
|
||||
f = DEFAULTS[fname]['serializer_class'](
|
||||
**kwargs
|
||||
)
|
||||
f._label = form_kwargs.get('label', fname)
|
||||
f._help_text = form_kwargs.get('help_text')
|
||||
f._label = str(form_kwargs.get('label', fname))
|
||||
f._help_text = str(form_kwargs.get('help_text'))
|
||||
f.parent = self
|
||||
self.fields[fname] = f
|
||||
|
||||
|
||||
Reference in New Issue
Block a user