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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -