exclude specific fields in flask-admin's create/edit forms -


i have fields in models want exclude modelview.

reference https://flask-admin.readthedocs.org/en/latest/api/mod_model/, attempted exclude specific fields using form_exclude_columns, e.g.

class userview(modelview):      form_exclude_columns = ('created', 'modified') 

but doesn't seem work.

how can exclude these 2 fields in create , edit modelview pages?

the attribute should named form_excluded_columns. forgot 'd'.

class userview(modelview):      form_excluded_columns = ('created', 'modified') 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -