Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
46 views

I’m building an admin console using Flask-Admin and I want my models to appear under a two-level dropdown menu. For example, in the top menu I want a single item UI. When I hover/click it, I want a ...
0 votes
1 answer
109 views

I have created two models in flask-sqlalchemy Product and Brand. Both have a relationship to each other. Whenever I try to create a brand I get the error AttributeError: 'tuple' object has no ...
-1 votes
1 answer
133 views

Attempting to build a site using Python and Flask. I had made some basic pages before tackling an admin page for the uploading of content. Currently I am using Flask-Admin v 2.0.0a0 and Flask-Security ...
0 votes
1 answer
111 views

I created a custom Ajax selector in a Flask-Admin view to optimize search in the birth_city_id field (over 36000 items) using form_ajax_refs (based on How to do an Ajax form field on Flask Admin ...
1 vote
0 answers
66 views

Upon finishing Miguel's Flask Mega tutorial I tried to implement a quick dashboard to access my model entities stored in a SQLite db through a admin page. One quick way of doing it (according to some) ...
Dream_'s user avatar
  • 11
0 votes
1 answer
214 views

I Have 2 SQLAlchemy models: class Topic(Base): __tablename__ = 'topics' id = mapped_column(Integer, primary_key=True) name = mapped_column(String(50), unique=True) **articles = ...
user avatar
0 votes
1 answer
39 views

Using the Flask Admin package to view database tables, how to right-align the values in the cells? See code below. class VwSalesByPersonYearView(MyModelView): """...
0 votes
1 answer
36 views

I'm developing a web application with python/flask. I want to limit access to some application fields so that only admins have access. I would like to know if there is a ready-made tool to do this or ...
user avatar
0 votes
1 answer
146 views

Hi Stackoverflow community, I'm trying to learn Flask-Admin. The documentation is a very good start, however I've found a very specific use-case that I'm not able to resolve. I have a table in ...
Simon's user avatar
  • 41
1 vote
2 answers
83 views

I cannot set the FLASK_APP variable after restructuring it into a package, it gives an error Could not locate a Flask application. Use the 'flask --app' option, 'FLASK_APP' environment variable, or a '...
0 votes
2 answers
453 views

I have a pretty complex Flask site and have added Flask-admin to manage various database tables. It works just fine but I already have an /admin blueprint tree with lots of management routes and ...
Bill 's user avatar
  • 696
0 votes
0 answers
97 views

When there are too many fields, a horizontal scrollbar is needed for scrolling. (https://i.sstatic.net/CmBcx.png) But now I'm facing an issue where, when there is too much data, I need to scroll to ...
yunzhi's user avatar
  • 11
1 vote
2 answers
943 views

I am trying to build a Flask app with Flask_security_too and Flask_admin. I need to have 1 user linked to 1 Device, but 1 device can have multiple releases: class Users(db.Model, UserMixin): ...
0 votes
0 answers
176 views

I am using SQLAlchemy with flask_admin and I am trying to search a field with a many-to-one relationship with my root object. Let's say I want to know the starting dates of the employees who work at ...
0 votes
1 answer
67 views

I have made two API's with Flask Admin and mongoengine, This is how my document is in the first API. class Score(db.Document): score = StringField(required=True) section= ReferenceField(...

15 30 50 per page
1
2 3 4 5
...
46

AltStyle によって変換されたページ (->オリジナル) /