flask tag

54 questions


1 answers
77 views
0
The reason why only the existing page comes out?

Hello, I'm a person who just started learning coding. I'm making a simple shopping mall. If I press 4 products on the main page of the shopping mall, I am trying to change the value within the same pa...

2 years ago

1 answers
75 views
0
How can I use javascript regular expressions to replace them if certain characters are included?

String.replace(/case/gi, FIND!)As above, I wrote to change the string case to FIND! without being case-sensitive.If there are two strings, > and < on both sides of case, how do I write it so tha...


1 answers
117 views
0
This is a Python import problem.

Hello, I'm a newbie who just started Python.Cannot import name Module from flaskI installed the flask and checked that it was installed well.Can you tell me why not?ㅠ

2 years ago

1 answers
80 views
0
How to import videos that are being saved as videowriters from html

Now, using two threads, one is a thread that stores a video of a webcam as a file One function is to turn over this saved file to HTML and display it on the web in HTML.I don't know much about the web...

2 years ago

1 answers
94 views
0
This is a question about the Korean encoding problem in Python django json response

def vanalysis(request): device = Device.objects.all() locations_list = list() for d in device: try: location = d.dev_name.split(';')[2].split(' ')[0] except Exception as e: location = 'Data error'...


1 answers
112 views
0
Python flask 405 error

index.html{% for obj in data_list%} <!-- single item --> <div class=item my-3> <h5 class=item-name text-capitalize>{{obj.contents}}</h5> <div class=item-icons> <a hre...

2 years ago

1 answers
114 views
0
flask TemplateNotFound

I created a program that loads and shows templates with Python flasks.import flask;app = flask.Flask(__name__);@app.route('/')@app.route('/home')def hello(): return flask.render_template('test.html')a...

2 years ago

1 answers
100 views
0
I have a question regarding Flask SQLAlchemy.

First of all, the logic to be implemented is to read the time value (data) stored in the DB through the datetime moduleWhen I display it on the web after processing it once, I want to print it out in ...

2 years ago

1 answers
130 views
0
I have a question for Flask ORM query statement. Calculating Daily Statistics

First of all, the point of the question is to calculate daily statistics based on DB data You are about to import it.I'm trying to implement it through the ORM query statement method, but the logic is...


1 answers
62 views
0
I wrote basic code for Python flask, but I got 404 error

from flask import Flaskapp = Flask(__name__)@app.route(/hello)def hello(): return <h1> Hello World! </h1>if __name__ == __main__: app.run()`Writing the following basic code does not run no...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.