You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug is reproducible against the latest release or master.
There are no similar issues or pull requests to fix it yet.
Describe the bug
Hi,
I am passing a custom formatter for the Details page like this:
# field1 is a dictionarycolumn_formatters_detail= {"column1": lambdam, a: json.dumps(m.field1, indent=4)}
However, when I go to the details page that formatting (pretty json) is not there, it still appears as a single json line. Is this a bug? How can I correct this without having to alter the templates? (no html). Is it possible to do it with WTForms?
Steps to reproduce the bug
No response
Expected behavior
No response
Actual behavior
No response
Debugging material
No response
Environment
OS: Ubuntu 22.04
Python3.11
sqladmin version = 0.20.1
Additional context
No response
The text was updated successfully, but these errors were encountered:
PyAntony
changed the title
View page not respecting the format I am passing
Details page not respecting the format I am passing
Jan 13, 2025
Checklist
master
.Describe the bug
Hi,
I am passing a custom formatter for the Details page like this:
However, when I go to the details page that formatting (pretty json) is not there, it still appears as a single json line. Is this a bug? How can I correct this without having to alter the templates? (no html). Is it possible to do it with WTForms?
Steps to reproduce the bug
No response
Expected behavior
No response
Actual behavior
No response
Debugging material
No response
Environment
OS: Ubuntu 22.04
Python3.11
sqladmin version = 0.20.1
Additional context
No response
The text was updated successfully, but these errors were encountered: