Questions tagged [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.

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.

https://github.com/dpgaspar/Flask-AppBuilder

157 questions
1
vote
0 answers

Routing on Flask-appbuilder - build Error

Trying to load my homepage and getting build error, that it cant build the url for the endpoint 'Myview.general', this was working fine for 2 months before today, view.py class Myview(BaseView): route_base = "/home" @has_access …
1
vote
1 answer

Multiple choices in flask-appbuilder

I have a field that currently the user can just type into but I have ENUM in my table, I would like it so they can only select one or the other as an option. Currently im trying to use base_filters, I have everything imported correctly, just not…
Theo
  • 71
  • 8
1
vote
1 answer

How do I change the default selection for a selectfield using a custom form with Flask-AppBuilder?

Change my Flask app into a Flask-Appbuilder, and running into some issues. I am looking to change the default selection of a SelectField using the parameter in the url, kind of like the automatic forms do. From the following configuration, I get…
1
vote
0 answers

Adding an additional authentication check to Superset/Flask

I am trying to use Keycloak as a single sign on authentication provider for my superset environment. Superset uses flask-appbuilder.security and flask-login. I previously posted a question about it here: Using OpenID/Keycloak with Superset A problem…
thijsfranck
  • 778
  • 1
  • 10
  • 24
1
vote
1 answer

Rotating consumer_secret with Flask-Appbuilder

There is a Flask-Appbuilder app with a custom SecurityManager that looks up the user token that it gets from a browser. We get the client credentials on the start of the app. And it works fine till the moment the credentials rotate. Is there an…
dmigo
  • 2,849
  • 4
  • 41
  • 62
1
vote
1 answer

Flask App Builder Related Views

I am trying to create a One to Many solution with Flask App Builder. I want to be able to click on the show button for one of my items and have it show all the related items beneath it. Ie Company goes to many files. Is Flask App Builders Related…
Justin Gardner
  • 605
  • 2
  • 9
  • 17
1
vote
1 answer

flask jquery GET 404

I'm playing with jQuery in Flask and have been making use of a simple example I found on runnable of adding two numbers together. I'm using Flask-Appbuilder and have a view all setup to display the template, which works fine. I included the jQuery…
Dusty Boshoff
  • 1,016
  • 14
  • 39
1
vote
0 answers

Flask App Builder Default Unicode Change?

Recently I know about flask app builder and try to use it on one of my project and i am try to use it to make persian website and after read the document i can't find any solution to change FAB default unicode ? is it possible at all ?
Rome
  • 563
  • 1
  • 9
  • 25
1
vote
1 answer

flask-appbuilder table view of all columns in table

Using Flask-Appbuilder I can't work out how to do the seemingly simple task of displaying all values from all columns in a table as a ModelView ie: col1 col2 col3 1 x y 2 p z etc.. The canonical example on the…
Don Smythe
  • 9,234
  • 14
  • 62
  • 105
1
vote
1 answer

How to get a file uploaded in modelview with flask-appbuilder?

I want to fetch a file on ModelView, a flask-appbbuilder class. I have these models: class Professor(User): pass class Aula(Model): id = Column(Integer, primary_key=True) professor_id = Column(Integer, ForeignKey('ab_user.id'),…
Kross
  • 303
  • 1
  • 4
  • 14
1
vote
1 answer

How to get add/list/... link of a view in flask app builder?

I am using flask app builder. Currently I am using the following code to access the view. appbuilder.add_view(ItemView, "Item") By default, it redirects me to listing page. And I know I can change the behaviour by overriding default_view. But I am…
ndemir
  • 1,881
  • 3
  • 19
  • 25
0
votes
1 answer

How do I configure Content Security Policy for use of ReCaptcha in Apache Superset?

I'm using the Superset in a Docker environment and I'm trying to get the AUTH_DB registration process to work but the Google reCaptcha box does not show when I access the registration site over a URL. this i am trying but not showing google…
0
votes
0 answers

bypass with JWT Token to enter the superset homepage/dashboard

anybody have an update on how to bypass an user based on the JWT token into the Superset home page. iam thinking that, it will validate the token user, who is recognised by google, azzure, facebook, etc.., then only authorize to the superset home…
0
votes
1 answer

SQLAlchemy + Flask managing several databases and migration

I need to write an application using SQLAlchemy + Flask AppBuilder. Currently I use 2 databases and it works well(with SQLALCHEMY_BINDS in config, separate metadata and bind_key parameter). When I am trying to add tables with the same names to the…
0
votes
0 answers

cookies are still valid after logout in superset

We have our superset instance tested by security team. they are performing following steps - 1. login into superset. 2. copy the session cookies with the help of browser extension. 3. logout from superset. 4. import session cookies into second…
Kamal Kumar
  • 474
  • 5
  • 9