Hi, I'm a bit of a noob with python flask so I'm unsure if this is an issue for here or for the SQLite (Have already tried flask and databases but their solutions lead me to think this is a issue with the DB but they said to go to python) page or something else, so apologies for that off the...
I have this function in Flask:
@app.route('/<usrname>?<app>',methods=['POST','GET'])
def mainW(usrname:str,app:str):
if request.method=='POST':
action = request.form.get('action')
if action == 'email':
return...
Hi!
I am still trying to learn Flask. And I have some problems that I cannot fix myself.
Okay, so now I have a code (classes) that define a database. And I would like to generate the database in flash shell. However, I have some fundamental error with my database, yet I do not know why.
My...
Hi!
I am slowly learning Flask framework. When trying to show the current time (and time that had passed since the page got generated) I encountered an error.
My app.py looks like this:
My index.html in templates folder looks like this:
And what I get is this:
I dunno what I am doing...
Hi everyone,
I have a small website ( Flask powered ❤️).
I would like that peoples could see my availability and book an "appointment" in the free spot.
I plan to develop one my self, but meanwhile maybe something exist already ? ( FOSS ! (so not google etc.. ))
If I could store that data...
Hi,
I am trying to loop over database entries for books and display them on an e-commerce page.
The books are stored in an SQLAlchemy database with information on title, author, and price.
I want to loop through the database and display the information for each book object in the database...
I am trying to make a web app using Flask, but I am having trouble with the Jinja syntax. I am following CS50. I want to take the student's name and dorm from index.html and display it on success.html. However, I am unable to do this. All that displays is
"You have successfully registered...
So, I have flask app with py-cicflowmeter. Purpose - detection of network attacks. According to my idea, two neural networks are used. The first is a fast binary LSTM classifier, and the second is a slow multiclass KNN. Both networks are pretrained and have 23 inputs each, with the same input...
Hello All, I am new in python programming and got the opportunity to work on a large project which is based on finance domain. I want to know which python framework is more flexible between Flask and Django in a large project. I have asked this quey on Quora and according to this source, Django...
Hi, im currently using Python's Flask to create a dashboard and on one route I'd like to render an html template that turns a local json file into a table. When using getJSON for some reason the localhost/server cannot find the file no matter how I've defined the path so the table always only...
# when I fill the form on the HTML Page (newfile.html) and click the SUBMITButton, NOTHING HAPPENS (No Saving file to database, and NO REDIRECT).
# I need assistance because I'm a beginner and don't know if the problem is with my code or the IDE because the same code was working previously.
#...
I am trying to make a website which has solutions of a book (5 chapters). Firstly, I want to open chapters.html with route /chapters which displays five submit buttons and chapter no. as their values.
<form action="/{{ chapter }}" method="POST">
<input type="submit" value="Chapter 1">...
I want to split web page onto two parts. Static (top one) and scroll-able (bottom one). The problem is that solution I have creates a scroll-able box with fixed width and height. But I've seen an example of a page where bottom and right sections are limited by size of the browser screen and have...
My issue is this. I can retrieve the chosenclass variable from the html text box, and the classroom of students is displayed, but after the updatepa function is called, that is after a student record has been updated, the variable is reset to the initial value of " " and so no class is displayed...