I am trying to make a chat app using SocketIO and following this video: https://www.youtube.com/watch?v=RdSrkkrj3l4 and the corresponding GitHub code: https://g
I have a flask application. I run it in production with this command: python -m gunicorn -w 1 -b 0.0.0.0:5000 "path.to.wsgi:return_app()" Instead, I want to ru
from flask import Flask, redirect, url_for, render_template, request from flask_sqlalchemy import SQLAlchemy from datetime import datetime imp
I just started learning flask and I am stuck at setting up the Flask environment variables. I don't know how to setup the environment variables. Whenever I use
I'm trying to send a POST request locally with a username and password in the body through Axios. I'm deploying a Flask app on http://127.0.0.1:5000/login, wh
I seem to be having this issue with Pandas code inside a Bokeh callback. Here's part of the output before the error. My dataframe seems normal and I'm not sure
I'm working with Flask-Marshmallow for validating request and response schemas in Flask app. I was able to do simple validations for request.form and request.ar
I'm learning flask web microframework and after initialization of my database I run flask db init I run flask db migrate, to migrate my models classes to the da
When running Flask normally, everything described below works absolutely fine. When running a build in Frozen-Flask however, I run into the following issue: In
Problem I get an error using Flask when following a tutorial on using Flash. Since I am a basic Python programmer I don't understand why or what is wrong with i
im trying to see data in real time, i have to close the python program to refresh the data. It refreshes only when i close the python file and
Is uWSGI's reload-on-rss value per worker/process? The documentation only states: reload if rss memory is higher than specified megabytes For example, if
I have a registration form with a password and confirm password field. When the form is submitted and the passwords do not match, it is not returning any error
I'm building a web page to show articles. In my database, I have to attributes, one of which is used to put Markdown code and the other to s
I have some code, but it gives me an error. It's done with Flask, and here is the error: https://hastebin.com/emifitopof.sql File forms.py class PostForm(FlaskF
I started using Flask-Migrate today and installed it on a test project. However i am getting following error: alembic.util.exc.CommandError: Can't locate r
I made a manage.py file for database migration in a Flask application and I get an error when trying to import MigrateCommand. I'm using PyCharm and I'm sure th
I am trying to print a variable number of spaces stored in a variable in jinja2, but jinja is escaping the contents of the variable. So when I store   i
Python Flask / Gunicorn / Nginx newbie here. I followed this tutorial describing how to serve Flask Applications with Gunicorn and Nginx on Ubuntu 18.04. Everyt
I'm using flask-restx in my flask application but each time I use the swagger ui to make a request it returns this 400: http://127.0.0.1:5000/api/user/register/