Questions tagged as 'flask'

0
answers

Bootstrap not initializing

I'm starting with Flask and I'm using Bootstrap 3.3.7, so I got the example navbar code on their site, but when I start the index the nav bar does not work: andthebuttonissimilartobootstrap4,howeverIdownloadedthebootstrap3.3.7severaltimesanditco...
asked by 02.06.2017 / 21:17
1
answer

How do I remove this warning?

Error:    C: \ Python3 \ lib \ site-packages \ flask_sqlalchemy__init __. py: 839: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppr...
asked by 05.03.2017 / 17:05
0
answers

Problems with ajax / json and cross-origin redirect

I have an application, in flask + javascript, that needs to query a url (on a server I do not have access to), however I get the cross-origin redirect error    XMLHttpRequest can not load link . Redirect from ' link ' to ' 'has been blocke...
asked by 15.02.2017 / 17:16
1
answer

How to upload a Flask server in 0.0.0.0:80 on a Linux Ubuntu 16.04 with python3 on an AWS EC2?

I need to run a Flask server on an EC2 instance. For this we need to solve these two steps: Open this port on EC2 Make Flask run in 0.0.0.0:80 The first step is ok. The door is open to interet: ForthesecondstepI'mfollowingthis video...
asked by 28.11.2018 / 04:57
2
answers

Table does not want to be vertical

I wanted to know what I was doing wrong, because I created a table in the template taking information from an api. He wanted to sort himself vertically rather than horizontally. <!Doctepyhtml><html><head><title>Tested...
asked by 29.04.2018 / 00:25
1
answer

Routes with flask

I'm trying to separate the functions of your routes, creating only one file for the routes and one file for each function, but when I try to call that function file on routes it does not find it: routes.py: from controllers.index import ind...
asked by 02.05.2018 / 15:03