I have a few question about flask-admin . More details on the questions are located below.
Here is the folder of the code I created to test flask admin
[https://file.io/ESGtJaHOw4Di](https://file.io/ESGtJaHOw4Di)
Here is the docs on flask admin
[https://flask-admin.readthedocs.io/en/latest/introduction/](https://flask-admin.readthedocs.io/en/latest/introduction/)
Why does the code blocks below not work in my flask-admin?
column_exclude_list = ['id']
column_editable_list = ['body', 'title']
I commented the code below because of error, this also is not working.
inline_models = ['Post,']
can_export = True
Is there an easier way then using this to make flask-wtf forms work?'
I assume if I use “Working With the Built-in Templates” part of the documentation of flask-admin I don't have to use the code below to make flask-wtf forms work. Is this correct ?
form_args = {
'id': {
'label': 'Include id',
'validators': [DataRequired()]
}
}
Also I am little confused by what [https://flask-admin.readthedocs.io/en/latest/introduction/#available-template-blocks](https://flask-admin.readthedocs.io/en/latest/introduction/#available-template-blocks) are ?
I assume they are just a way of overriding the HTML files in admin template, is that correct?
Also I assume [https://flask-admin.readthedocs.io/en/latest/introduction/#generating-urls](https://flask-admin.readthedocs.io/en/latest/introduction/#generating-urls) allows you to link to URL in the admin.
When would this be useful?
/r/flask
https://redd.it/1c47121
Here is the folder of the code I created to test flask admin
[https://file.io/ESGtJaHOw4Di](https://file.io/ESGtJaHOw4Di)
Here is the docs on flask admin
[https://flask-admin.readthedocs.io/en/latest/introduction/](https://flask-admin.readthedocs.io/en/latest/introduction/)
Why does the code blocks below not work in my flask-admin?
column_exclude_list = ['id']
column_editable_list = ['body', 'title']
I commented the code below because of error, this also is not working.
inline_models = ['Post,']
can_export = True
Is there an easier way then using this to make flask-wtf forms work?'
I assume if I use “Working With the Built-in Templates” part of the documentation of flask-admin I don't have to use the code below to make flask-wtf forms work. Is this correct ?
form_args = {
'id': {
'label': 'Include id',
'validators': [DataRequired()]
}
}
Also I am little confused by what [https://flask-admin.readthedocs.io/en/latest/introduction/#available-template-blocks](https://flask-admin.readthedocs.io/en/latest/introduction/#available-template-blocks) are ?
I assume they are just a way of overriding the HTML files in admin template, is that correct?
Also I assume [https://flask-admin.readthedocs.io/en/latest/introduction/#generating-urls](https://flask-admin.readthedocs.io/en/latest/introduction/#generating-urls) allows you to link to URL in the admin.
When would this be useful?
/r/flask
https://redd.it/1c47121
file.io
flask admin
shared with file.io - super simple file sharing