All Questions
4,171
questions
-1
votes
0
answers
27
views
Want to auto-reload http request data and update the data on the html without reloading the whole web page
I'm writing a Flask application that takes user input (supposed 'name') using the html form. On the other hand, I have a function that makes http requests to a webpage and return the results (supposed ...
0
votes
0
answers
33
views
I wish to first submit a post request and move to different page in flask
Requirement:
There is form in my html page where we can upload files and post them. After posting the files I wish to save it in the backend and then proceed to the next page of my application in a ...
-1
votes
1
answer
33
views
Django IntegrityError: How to handle ForeignKeyViolation in a delete view?
I’m facing an issue when trying to delete records in Django. I have a delete function for companies, but sometimes I encounter an IntegrityError if the company has related records in another table. I ...
-1
votes
1
answer
76
views
What is the difference between manually extracting data and using a GET vs POST request with jquery AJAX?
I've developed a website using Python Flask, which includes a form with two dropdowns and a slider. I'm looking to retrieve the selected values from these form elements and send them to the python ...
0
votes
0
answers
56
views
405 Method Not Allowed Error on POST Request to Flask Endpoint
I'm encountering a 405 Method Not Allowed error when making a POST request to the /generate endpoint in my Flask application. I've ensured that the endpoint is configured to handle POST requests, but ...
0
votes
0
answers
14
views
Calling a python function in javascript? link function in python to be used in my script.js without using flask, but perhaps AJAX? [duplicate]
I have a file recommender.py, which contains a python function get_recommendations(title)
I want to use this in my script.js file
// Function to handle rating submission
function submitRating(...
0
votes
0
answers
20
views
How can I integrate AJAX infinite Scroll with Django View
I have a Django view that originally displays a list of applicants, and using the filter by session, it is expected to display list of applicants by the selected academic session. And using pagination,...
1
vote
0
answers
32
views
Flask route with send_file function called via ajax-request
My problem is almost exactly like in this unsolved quastion.
Downloading starts properly, if route function was called directly:
HTML
<button type="button" onclick="window.location....
0
votes
0
answers
29
views
Ajax requests interfering with video stream function in Flask despite multithreading
I'm designing a web application. One of the main functions annotates frames from a webcam stream with the landmarks of different parts of the body (using Mediapipe). It then calculates the angle ...
0
votes
0
answers
19
views
form_validation_error python requests
im trying register to a website, but im taking this error:
{"account_created": false, "errors": {"force_sign_up_code": [{"message": "That code isn't valid. ...
0
votes
0
answers
31
views
Search Data using jquery from HTML table
I am trying to write an application using python and i am trying to fetch data from mysql DB. After fetching data i want to add a ajax search query to filter the users. when I open the html file ...
0
votes
1
answer
66
views
How to make a request to download a file using python to a portal with login?
I am trying to download a file using the following requests
url = 'https://totoro.banrep.gov.co/analytics/saw.dll?Go&ViewID=o%3ago%7er%3areport&Action=Download&SearchID=...
0
votes
0
answers
43
views
Chain multiple ajax requests in website to show more pages and get full list in single page
I would like to get the full page https://icomarks.ai/icos/ when scrolling down while clicking Show More button. It should show around 8000 elements.
The Show More button activates a POST request ...
0
votes
1
answer
95
views
error in the application's ajax request in an azure app
I have an app in python-django and on localhost everything works normally. I make ajax requests to Python correctly, however it doesn't work in the Azure application, follow the example code of how I ...
0
votes
0
answers
37
views
Javascript does not redirect and time is stay same in Django Application. How to solve it?
Hi everyone I try to build web application with using django and js. It is kind of chat application there are rooms and each room have time after time is up. I want to delete room. While I making test,...