No matter what I do, I cannot import flask_wtf, or any variation of it - flask-wtf, flask_WTF, flask-WTF, etc. My linter doesn't recognize it (pylance in VSCod
I am unable to extract JWT token payload after the jwt token expires in python jwt package. I am using flask api for backend development and the implementation
I have this simple redirect from '/' to '/home', handled by flask with app.py @app.route('/') #Redirects to home page def redirect_home(): return redirect("
In my app I use a among others a SelectMultipleField ("stektypes") for creating “stekken”, using the following form: class createStekForm(FlaskForm)
I need to add a link to a photo in my database using REST API. I have tried to add it as a string, but there is some error. My PUT call: http://127.0.0.1:3000/a
In my Flask application I use Bootstrap 5 and datatables. The basic datatable is ok. I want to add buttons and clickEvent and that's where it goes wrong. Here's
I wrote a site in bootstrap and thinking about refactoring it in jinja. I am not much familiar with nesting blocks, and the site is relatively simple. My goal i
While I am testing my API I recently started to get the error below. if request is None: > builder = EnvironBuilder(*args, **kwargs) E
I am using Flask-JWT-Extended, and Flask CORS with React to make a web app. According to the documents of Flask-JWT-Extended which provide the "Protected" rout
I have a simple flask app that queries a database to write a csv then pyplot to create a chart out of that. I would like to refresh the data in the background e
When trying to display replies of users on my page it displays them with SQL syntax, like so: ('reply',) I've tried str() when returning from my route. html: &l
I am trying to make a website using Flask. I have designed the HTML using TeleportHQ, a drag and drop HTML designer that gives you the HTML and CSS files. I hav
I have a flask-restful Resource like so class UserLogin(Resource): @classmethod def post(cls): return {"msg": "test"}, 200, {"Foo": "bar"} It s
I have a flask web that makes prediction and returns it. The index page is rendered, the model receives data and makes a prediction and shows it correctly. But
I've two models Profile & Product representing One-Many relationship. One profile can have many products. I'm serializing all the fields. The column which h
I am having a python flask app. We have used local logger with file handler and stream handler for logging messages. Handler levels INFO fh.setLevel(logging
I am having a python flask app. We have used local logger with file handler and stream handler for logging messages. Handler levels INFO fh.setLevel(logging
I'm writing an application REACT frontend and Flask backend (with Flask-cord installed). When I make a call from the frontend I get an error Access to fetch at
I fetch the data from Mysql and populate the values to my html form in a drop down menu.Once the user selects the option, the value which gets sent back is only
I tried to set up multiple Dash Apps inside a Flask App and use Flask Babel. from flask import Flask, request from flask_babel import Babel, gettext from werkze