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

All Questions

Tagged with
1 vote
1 answer
28 views

Not loading static(CSS,JS,BOOTATRAP) files after applying "Empty Cache and Hard Reload" [duplicate]

I am working on django website,i made some changes in jquery file and then apply "Empty Cache and Hard Reload" in browser ,but now all the static files are not reflecting in browser, before ...
Adeeb Hassi's user avatar
0 votes
1 answer
36 views

Datatables causes table element to disappear, only when deployed [closed]

I have a Django web app which I'm hosting on Heroku, and I'm using the Datatables JQuery library to add extra features to a table. When I run my app locally, it works beautifully. When I deploy on ...
ChuckSteak's user avatar
-2 votes
1 answer
42 views

Ajax is not working without refreshing the page [closed]

Ajax is not working without refreshig the page to make it work.I am coding an ecommerce website in django and need to show quantity of products in the cart but it dont show quantity without refresh ...
Mohi's user avatar
  • 3
0 votes
1 answer
40 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
27 views

Django - select onchange event not working anymore if using jquery-editable-select

I'm using a select item from a django model with a onchange event to trig a JS script : forms.py class forms_bdc(forms.ModelForm): [...] bdc_description_1 = forms.ModelChoiceField(queryset=...
Nico44044's user avatar
  • 353
0 votes
1 answer
24 views

Using jquery-editable-select in a Django App

This is my very first Django app so please don't be too harsh :-) I'm trying to use jquery-editable-select in my Django web App but I'm lost. https://github.com/indrimuska/jquery-editable-select ...
Nico44044's user avatar
  • 353
0 votes
1 answer
40 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
48 views

show time slots after click on date calendar

I have two fields on Django Model, Date field and Time field, class Appointment(models.Model): section = models.ForeignKey( 'Section', verbose_name=_('Section'), ...
Israa Salameh's user avatar
2 votes
0 answers
64 views

DataTable table ordering fails when used in HTMX responsive table

I have played around with a few ways to create responsive tables and I like the htmx approach. The issue I run into is I loose some of the DataTables functions I have relied upon, mainly the ability ...
Bonny Clarke's user avatar
1 vote
0 answers
30 views

window.addEventListener('scroll', function() {

I'm working on the front end through Django WebFramework and PyCham, but infinite scrolls are not properly applied It is a page that fetches and displays public data APIs. Even if the scroll is stuck ...
haenshi's user avatar
  • 13
1 vote
1 answer
42 views

Order Django QuerySet by where a term appears in results

I'm trying to implement an autocomplete for an input field using Django and jQuery (user searches for a food from a menu). The problem is figuring out how to order the results. If, for example, the ...
Thomas Huitema's user avatar
0 votes
2 answers
58 views

image gallery using magnific-popup always popup first one, not the one selected when clicked

I'm using JQUERY and Magnific Popup in a django project. When I clicked on any image in the gallery, it always popup the first image instead of the one selected. This is my current code: Here is the ...
Jian Zheng's user avatar
0 votes
0 answers
42 views

the html template fragment is not updated correctly when working with ajax

I have a Django template that displays a hierarchy of workers using the django mttp library. {% extends "base.html" %} {% load static mptt_tags %} {% block content %} <ul class="...
SerhiiL's user avatar
  • 88
0 votes
0 answers
67 views

Django with datatables bootstrap 5 pagination is not working properly

I am learning Django with a sample web page. And I am trying to integrate Jquery DataTable with Bootstrap 5. The issue is, I have a total of 12 records in the DB. When I do the code and return the ...
Arun's user avatar
  • 3,721
3 votes
1 answer
56 views

JQuery .show() working, but .hide() not working

I am trying to build a dropdown select box in js, which I have to use js as it includes images. The problem is, when I click on the "input box" i made the jquery code to open it works i.e. $(...
Hugh Mungus's user avatar

15 30 50 per page
1
2 3 4 5
429