Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-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 ...
VIncent's user avatar
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 ...
R.S4697's user avatar
-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 ...
googosya's user avatar
-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 ...
user25533071's user avatar
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 ...
Royston Emmanuel's user avatar
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(...
shravya karna's user avatar
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,...
Success Gande's user avatar
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....
Hi-tecX's user avatar
  • 15
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 ...
user23328166's user avatar
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. ...
Dkdkdkk's user avatar
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 ...
Dileep's user avatar
  • 1
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=...
Pipe's user avatar
  • 5
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 ...
Alessandro Bitetto's user avatar
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 ...
Vinicius Maciel Pires's user avatar
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,...
Mert Altintas's user avatar

15 30 50 per page
1
2 3 4 5
279