dpgaspar / Flask-AppBuilder

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
BSD 3-Clause "New" or "Revised" License
4.69k stars 1.36k forks source link

Can you help with the following? #495

Closed afidegnum closed 5 years ago

afidegnum commented 7 years ago

How do i set custom endpoint for ModelView?

I m setting a custom model type as AjaxImageColumn, how do i set filemanager.py to recognize this field?

How do i pass the form argument between pages?

afidegnum commented 7 years ago

I have how do i implement the CKEditor on textwidget?

afidegnum commented 7 years ago

@dpgaspar any insight?

dpgaspar commented 7 years ago

No time right now to look deeply into it. But my advise to you, write your own WTForm and form template, this way you develop what you want the way you want, and stop fighting the framework ;) .

dpgaspar commented 7 years ago

Take a look at the quickhowto2: https://github.com/dpgaspar/Flask-AppBuilder/blob/master/examples/quickhowto2/app/forms.py

on the your ModelView override: http://flask-appbuilder.readthedocs.io/en/latest/api.html#flask.ext.appbuilder.baseviews.BaseCRUDView.edit_form

add_form and edit_form, you can (and probably want) to override also add_template and edit_template.

afidegnum commented 7 years ago

thanks a lot for the insight

xqliu commented 7 years ago

刘向前 赞了您的邮件。 Spark by Readdle

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.