The SettingsPanel will force all values into a string, and for us some are just random bytes.
|
def generate_stats(self, request, response): |
|
self.record_stats( |
|
{ |
|
"settings": { |
|
key: force_str(value) |
|
for key, value in sorted(get_safe_settings().items()) |
|
} |
|
} |
|
) |
This is related to the new serialization work that landed #2138.
The
SettingsPanelwill force all values into a string, and for us some are just random bytes.django-debug-toolbar/debug_toolbar/panels/settings.py
Lines 26 to 34 in 4e47b94
This is related to the new serialization work that landed #2138.