class DisabledTextField(TextField):

    def __call__(self, *args, **kwargs):
        kwargs.setdefault('disabled', True)
return super(DisabledTextField, self).__call__(*args, **kwargs)
Readonly text field in Flask-Admin ModelView