Skip to content
#

Flask

flask logo

Flask is a web framework for Python, based on the Werkzeug toolkit.

Here are 14,128 public repositories matching this topic...

TkTech
TkTech commented Jan 15, 2020

Expected Behavior

Missing templates should raise a TemplateNotFound exception with the correct template name.

Actual Behavior

The top-level template is used as the error string even when it is not the template that failed.

There appears to be an issue in Flask's DispatchingJinjaLoader. If a template called parent.html fails to find a sub-template such as `{% extends child

dash
tdpetrou
tdpetrou commented Dec 30, 2019

I write tutorials and do lots of live teaching and gravitate mostly to using Jupyter Notebooks, which allow for text and code to be integrated together in one. Using dash on a local instance of Jupyter is essentially no different than using it from a normal .py file.

But, when teaching to people that have no local jupyter instance or don't even have python installed, I've turned to [Binder](myb

liliang8858
liliang8858 commented Oct 18, 2019

python 3.7 centos 7

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/local/python3/include/python3.7m -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.7/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function ‘__Pyx_PyCFunction_FastCall’:
src/lxml/lxml.etree.c:231412:5: error: too ma
Annakan
Annakan commented Oct 28, 2018

Expected Behavior

I expected and the documentation hints has such changing config after loading the setting file is fine, and that if one wants to benefits from the defaults one needs to load them from a file.
But that's not true because propagation of global settings to the domain happens at config file loading time.
And there is no way to tweak the settings before applying them :EveWSGIRe

larrycameron80
larrycameron80 commented Sep 17, 2019

Information Exposure
Vulnerable module: requests
Introduced through: requests@2.18.4
Detailed paths
Introduced through: dvf/blockchain@dvf/blockchain#1369cac2094d36e694da1209d7d4f923264f7f50 › requests@2.18.4
Remediation: Upgrade to requests@2.20.0.
Overview
Requests is a Non-GMO HTTP library for Python

Affected versions of this package are vulnerable to Information Exposure. Upon receiv

jofpin
jofpin commented Jan 22, 2020

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

idlem1nd
idlem1nd commented Mar 18, 2019

Having API_URL configurable is really helpful for those of us in a firewalled environment so we can point to our own GitHub Enterprise server, however you get a later error when trying to download styles, as this always attempts to reach https://github.com/joeyespo/grip to grab the CSS from a README page.

I hacked constants.py to point to a GitHub page that is reachable from our network and eve

taoufik07
taoufik07 commented Aug 6, 2019

For now the tests cover 87% of our code base, it would be cool if we can reach the 100% !

Name                              Stmts   Miss  Cover   Missing
---------------------------------------------------------------
responder/__init__.py                 2      0   100%
responder/__main__.py                 3      3     0%   1-4
responder/__version__.py              1      0   100%
r
christabor
christabor commented May 10, 2017

What likely needs to happen:

  1. Docs moved inside of package (OR linked via setuptools)
  2. Docs read and imported via python
  3. Docs then parsed and available on a per-widget basis.

The ultimate goal of the above is so that there is never any disconnect between docs and UI. It should always stay in sync.

cpaulik
cpaulik commented Oct 17, 2019

Current documentation claims that:

To create the initial database, just import the db object from an interactive Python shell and run the SQLAlchemy.create_all() method to create the tables and database:

>>> from yourapplication import db
>>> db.create_all()

Boom, and there is your database.

But the create_all() function does not seem to create the database, only the tables.

metaperl
metaperl commented Dec 19, 2019

In my work to customize Superset (a FAB app), I often wondered about the relationship between the FAB database entities. As such, it would be nice to use a tool (I used DataGrip) to document these relationships.

Alternatively, some people might prefer a UML model of the various classes in the FAB source code.

<img width="304" alt="db-er-diagram" src="https://user-images.githubusercontent.com

micha030201
micha030201 commented Aug 29, 2018

FlaskBB has extensive internationalization support, and several translations already. However, there's still much to be desired. After examining flaskbb's translation practices, I've found the following issues:

It's not clear what translators are supposed to do

After digging in the source files, I discovered that flaskbb uses transifex for cro

Created by Armin Ronacher

Released April 1, 2010

Latest release 7 months ago

Repository
pallets/flask
Website
flask.pocoo.org
Wikipedia
Wikipedia

Related Topics

python database heroku
You can’t perform that action at this time.