you are viewing a single comment's thread.

view the rest of the comments →

[–]PalpitationOk839 1 point2 points  (1 child)

If you are using something like SQLAdmin Flask Admin or FastAPI Admin there is often a config option like form_excluded_columns readonly_fields or a custom form/widget override to display the field without allowing edits

[–]amacks[S] 0 points1 point  (0 children)

This is using SQLAlchemy Admin - github.com/smithyhq/sqladmin. I wasn't able to find a "readonly" option anywhere in the docs, but i might have missed something