Flask

Flask is a web framework for Python, based on the Werkzeug toolkit.
Here are 28,124 public repositories matching this topic...
A clear and concise description of what the bug is.
The superset chart table sets the number of pagination rows to select the setting, and add the option of whether to select all
like this
, there seems to be an off-by-one error in dcc.DatePickerRange. I set max_date_allowed = datetime.today().date()
, but in the calendar, yesterday is the maximum date allowed. I see it in my apps, and it is also present in the first example on the DatePickerRange documentation page.
E
-
Updated
Nov 2, 2021 - Python
-
Updated
Oct 17, 2021
It has been a pleasure for me to contribute to all of you 2 versions of this tool.
I've been working on other open source projects that I'm about to release for you, so I haven't finished trape version 3.0.
But, I invite you and the entire community that has used this project, to collaborate with some lines of code, implementing your own ideas and improving trape, turning it into a project o
-
Updated
Oct 15, 2021 - Python
-
Updated
Sep 25, 2021 - Python
-
Updated
Nov 19, 2021 - Python
This will help reduce some copy pasted boiler plate code.
I'm new to Flask, and was wondering about a feature that I think would be useful to add to the Pagination class. Unless I'm missing it, there doesn't seem to be a built-in way to get the numbers of the items you're viewing on the page itself. That is, if you want to display "387 records found; displaying 26–50", you'd have to do calculations to get the "26" and "50".
I think something along the
-
Updated
Nov 28, 2021 - Python
Hey! When I was reading the docs and I saw api.background.task
, the first thing that popped into my head was "but you can just use asyncio.create_task
or loop,.run_in_executor
for that without inventing something new!". But then I noticed that it also passes the context vars to the synchronous backround stuff, which is nice. Wonder why that's not the case in the stdlib, cause it would be nic
Test coverage 100%
SentryMiddleware
-
Updated
Jul 14, 2021 - Python
-
Updated
Nov 8, 2021
-
Updated
Jun 4, 2021 - Python
-
Updated
Oct 12, 2021 - Python
-
Updated
Nov 27, 2021 - Python
-
Updated
Nov 23, 2021 - Python
-
Updated
Nov 28, 2021 - JavaScript
Created by Armin Ronacher
Released April 1, 2010
Latest release about 2 months ago
- Repository
- pallets/flask
- Website
- flask.pocoo.org
- Wikipedia
- Wikipedia
https://github.com/pallets/flask/blob/9039534eee6a87da98a1dee9e4338d1b73e861f8/src/flask/ctx.py#L133
While it makes no sense to use it outside a context, the error message could be nicer when you do so anyway (e.g. because you accidentally call a function using it from a celery task or some other place without a request context), like e.g. in
copy_current_request_context
[in the same file](ht