Skip to main content

All Questions

Tagged with
0 votes
1 answer
38 views

Problems with changing the status from pending to rejected/approved

I do not know much about js, but I tried to submit the data by clicking on the button. The project is about approve or reject orders in the panel of the owner of the shop. Things in Django admin went ...
Aetoox's user avatar
  • 1
0 votes
1 answer
38 views

How do I put Apache Superset as an app in a Django project?

How do I put Apache Superset as an app in a Dango project? I tried to install the tool using Docker, but I want to use the Superset tool with the Django project so that it becomes an application among ...
Shamsan Mohammed's user avatar
0 votes
1 answer
53 views

Select option depent on a other selected parent option in same page

I have a page with two selection fields. Project selection and company selection. Existing Data for the fields. Bold are the projects, Italic the companies. ASAS --Fa_Test DATA --Fa_Test0, --Fa_Test1, ...
basicscripting's user avatar
0 votes
1 answer
74 views

Replacing google doc template text with placeholder {{text}} by google sheet images (charts: line, bar,pie)

I make a daily log report of my work in Google Sheets, and have to submit that report on a monthly basis. For that, I have a template report in my Google Drive account. That template needs to be ...
Kisna 's user avatar
1 vote
1 answer
32 views

Dependant dynamically created select(dropdown) fields that run their .change() on page load

I haven't been in the active programming game for some time so forgive me if the description of my problem is poorly worded. I have select forms that are generated (using flask) from a database. The ...
Scott W's user avatar
  • 17
0 votes
0 answers
29 views

How to handle alertFlash java script alert which is not appear during automation using selenium

I am using one website on which when I update something manually (e.g Update user_name) and getting flash alert which disappear within 5 seconds. But when I automate using selenium the flash alert is ...
Shivaji Ghadge's user avatar
0 votes
1 answer
71 views

How to print a horizontal line on the paper of a thermal printer?

In HTML5 we use the <hr> tag to draw a horizontal line. Now from Javascript I want to post data to a Python project for printing on a thermal printer : let data = "Prestation : steak \n&...
pheromix's user avatar
  • 19k
0 votes
2 answers
37 views

AJAX request to Django view and python print to terminal doesn't do anything

I am working on a Django website for the nonprofit. I am on the profile images part. I am trying to upload images using the image as a button to submit. I have the file chooser that opens. Then, it ...
Hoko L's user avatar
  • 67
0 votes
1 answer
113 views

Pass JS variable to another JS and to django view

I have several cards with items. I added a counter to each card and a button 'Add to cart'. I want to pass the count of item into django view using ajax. But I dont know how to pass variable from ...
Андрей's user avatar
0 votes
0 answers
33 views

Select element option value not showing in js [duplicate]

I'm working on dependent dropdown box with https://tutorial101.blogspot.com/2021/01/python-flask-dynamic-loading-of.html as a reference but with ibm_db. The idea is when an particular option is ...
fneiwfwiem's user avatar
0 votes
0 answers
26 views

How to add an accordion in djnago admin in the change_list.html template?

I want to change the default table in the django admin, which is displayed in the template change_list.html. While retaining all the functionality that django provides. The idea is to make the table ...
by plentik's user avatar
0 votes
0 answers
36 views

why does any interaction with the django site direct you to the data addition form?

The task was given to develop a service for working with the restaurant database on django. Clicking on the corresponding buttons /fields of the data table should redirect to pages with edit/add/...
Juan's user avatar
  • 1
0 votes
0 answers
33 views

Load rows/checkbox state selection from URL

I'm in this situation I try to load my datatables with checkbox selected I have 2 kind of urls: rows unselected and rows/checkbox selected http://localhost:5000/?page=1&length=10 http://localhost:...
user3520363's user avatar
0 votes
1 answer
60 views

AJAX is not working when add multiple items

I have a cart, where I can add or remove items. I'm using sessions for cart and AJAX to add/remove products without refreshing the page. It works correctly, when one item in cart, but it shows only a ...
Артём's user avatar
2 votes
1 answer
71 views

Trouble with AJAX POST request in Flask web application

I'm working on a web application using Flask and I'm having trouble with an AJAX POST request. I am working of a signup page. When I click the submit button on my form, nothing is happening, and there ...
HiteshMore109's user avatar

15 30 50 per page
1
2 3 4 5
136