Flask, which offers a simple interface for email sending— Flask Mail. (Check here how to send emails with Flask). - Source: dev.to / 6 months ago
Lang="en"> Plot Bookmarks!{% block title %}{% endblock %} rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" /> class="container"> Plot Bookmarks by Date {% block containercontent %}{% endblock %} /> class="footer"> class="text-muted"> >This is a... - Source: dev.to / 9 months ago
What's the easiest way to determine which version of Flask is installed? - Source: Reddit / 11 months ago
I'm looking at the WSGI specification and I'm trying to figure out how servers like uWSGI fit into the picture. I understand the point of the WSGI spec is to separate web servers like nginx from web applications like something you'd write using Flask. What I don't understand is what uWSGI is for. Why can't nginx directly call my Flask application? Can't flask speak WSGI directly to it? Why does uWSGI need to get... - Source: Reddit / 12 months ago
I building a website using the (excellent) Flask framework in which I now want to display some numbers. The round filter provided by jinja2 works fine, except for when there is no decimal value:. - Source: Reddit / 12 months ago
I'm using Flask for developing a website and while in development I run flask using the following file:. - Source: Reddit / 12 months ago
I am using Flask with Jinja2 as templating language. - Source: Reddit / 12 months ago
NB: Dash is a python package used to build dashboards by plotly (website here). Flask is a python package used to build python web frameworks (website here and AWS tutorial here). I am using python 3.6 and all package versions can be seen below in requirements.txt. - Source: Reddit / about 1 year ago
I'm building an app that uses Flask and Scrapy. When the root URL of my app is accessed, it processes some data and displays it. In addition, I also want to (re)start my spider if it is not already running. Since my spider takes about 1.5 hrs to finish running, I run it as a background process using threading. Here is a minimal example (you'll also need testspiders):. - Source: Reddit / about 1 year ago
I have been developing an app using the very easy-to-pickup Flask system and I have used a jinja template to write out a bunch of links that correspond to pages in Flask that are defined by something like this:. - Source: Reddit / about 1 year ago
Without Foreman, I could create a helloworld app as described in the Flask tutorial:. - Source: Reddit / about 1 year ago
I'd like to create a decorator for Flask routes to flag certain routes as public, so I can do things like this:. - Source: Reddit / about 1 year ago
I know there are plenty of questions about Flask and CherryPy and static files but I still can't seem to get this working. - Source: Reddit / about 1 year ago
Import osdef populate(): python_cat = add_cat('Python') add_page(cat=python_cat, title="Official Python Tutorial", url="http://docs.python.org/2/tutorial/") add_page(cat=python_cat, title="How to Think like a Computer Scientist", url="http://www.greenteapress.com/thinkpython/") add_page(cat=python_cat, title="Learn Python in 10 minutes", ... - Source: Reddit / about 1 year ago
I have build a very small web application using Flask. Now I would like to add very basic authentication to the site (I don't need authorization). As Flask does not support auth&auth out of the box, I'd like to plug in a WSGI middleware doing this job. The web-app is only used by roughly 10 people, all of them are on Facebook. So I'd like to use Facebook's OAuth interface. - Source: Reddit / about 1 year ago
This question already has answers here: Print raw HTTP request in Flask or WSGI (7 answers) Closed 5 years ago.I am new to python2 flask & I am tasked to pretty print & save the entire HTTP request and response to file. I don't quite understand how to print/inspect the request object, let alone the response. - Source: Reddit / about 1 year ago
By only using the Flask micro-framework (and its dependencies) can we perform an internal redirect from one route to another? - Source: Reddit / about 1 year ago
I want breadcrumbs for navigating my Flask app. An option could be to use a general Python module like bread.py:. - Source: Reddit / about 1 year ago
I've made a website using Flask and I have no problems getting things to work properly on the built-in development server. I've also been able to get things running on my production server under mod_wgsi. However, I host my static media from a static/CGI/PHP-5.2 application and I can't get Flask to 'see' it without manually changing all the urls in my html files. - Source: Reddit / about 1 year ago
I'm trying ot install Flask, but I'm betting all these warnings and errors:. - Source: Reddit / about 1 year ago
Given a simple Flask application, I'm just curious about whether there is a proper way to modify a Response in the hooks such as process_response? - Source: Reddit / about 1 year ago
Do you know an article comparing Flask to other products?
Suggest a link to a post with product alternatives.