-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The SettingsPanel will 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
| 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.