Blueprints in Flask vs Apps in Django [closed]

I am new to Flask and noticed something called Blueprint in Flask. I searched it and now I am using it in my Flask project. I had already worked in Django and I guess Blueprints are the Flask’s …

TypeError: ‘NoneType’ object is not subscriptable on GAE instance assigning JSON to python variable

I’m getting an error TypeError: ‘NoneType’ object is not subscriptable when assigning JSON to a python variable like this sheet_id = data[“sheetID”]. It only happens on my Google App Engine …

flask app builder user should see only own content

Hi i want that the user is only seeing it’s own content which was created by themself. In flask i created a user table and every other table as a reference to the table. So when the view is called i …

flask web socket not connecting

i am trying to connect websocket in flask(1.1.2) with Flask-SocketIO(5.0.1) but it give 400 error to websocket url. i`m using anaconda virtual environment. from flask import Flask, render_template …

Error when trying to connect to flask via localhost

I can across a script on github that send a Post request using flask. I am trying run the script to establish a connection on my local host. But I get the below response The method is not allowed for …

Flask under apache only works with flask run and when not importing cv2

I want to use Open CV on a Flask Server but when i import cv2 and load up the page on my browser, it just says ERR_EMPTY_RESPONSE. When i don’t import cv2 and have no parts that use it, everything …

how to add favicon to android home shortcut and mac Capitan Safari

I uses the https://realfavicongenerator.net/ to generate and check the icon, however I tried many times and couldn’t get rid of this two following errors: The other three are all done and the final …

Python-Flask No response: After stayed active for one day

App description: I am using Python-Flask module with PostgreSql 12 as a REST API on a Web based application. There is a lot of request based heartbeat (JavaScript SetIntervals to send heartbeat almost …

Deploy Flask application from Git repository with gspread API client_secret.json

I want to deploy a flask application on heroku and in the flask app I use the Google Sheets API with gspread. To authenticate you get a client_secret.json file which you need to insert to …

Hot to get data from webapge using selenium and show it using flask?

Hello I’m a theologian and one of the things that I usually have to do is translate from latin to english or spanish. In order to do that I use an online dictionary and check if an specific word is in …