According to the selection in the form, I want to get the number of records that match the id of the selected data as an integer. Here is my view : ...
According to the selection in the form, I want to get the number of records that match the id of the selected data as an integer. Here is my view : ...
I need to write a compatible algorithm for this code, but I can't. How can I send data to backend? I am using bootstable.js for table HTML table: ...
I am using the django-ajax-select library to display a many to many relationship in the admin panel. The problem is that I have too many objects linke ...
I'm fighting with this problem during several days and can not find the solution for my case. I'm trying to make system of likes without refreshing th ...
I have a modal form that I use when users need to create something without leaving the page they are on. And to avoid refreshing the page after the mo ...
I am working with Django and Ajax. With the help of jQuery, i successfully sent form data to server and able to validate it. Problem arrive when form ...
I'm using ajax to submit a form, and it's working. But it's not working asynchronously. When I'm trying to upload files it uploaded successfully and t ...
hello I have a post model which has a like(m2m) and user(forgeinkey) model field and Im trying to check if the request.user has liked the post and if ...
It works but when press like button it coun 2099 instead of 1, after refresh it turn 1..when unlike same problem happend...It counts correctly after r ...
im doing a django dependent form and it works for my create view but not in update view. I tink the problem is the jQuery cdn library, i think its a c ...
Here i want to have my contactperson data in form of checkbox but using ajax call,I am able to bring in form of dropdown but after doing changes for c ...
I have a list of multiple projects on my page, and each project have a contact use button, if a user click on contact us page then it will open a popu ...
i am trying to access data from view function to ajax response.here i am Getting data in my Views.py and i want to access that data in ajax Response. ...
In short: django-ajax-selects works fine with filtering existing items, but gives JS error by adding new item. Details. Using Django 3.1. At Admin si ...
I have some data in response but I want to display that data in the popup, please let me know how I can display Ajax data in the popup. here is my vi ...
I have a project foreign key in by Phase model. I'm having hard time Create a dependent drop-down list inside my Django admin page. I want to when us ...
my problem: I have three models. il (province), ilce (district) and mahalle (neighborhood). I filter with smart-select. works smoothly in the entry of ...
In my Django project I'm trying to add a datepicker using jQuery. When I load page in a browser the console gives me an error: Uncaught TypeError ...
I am working on a problem where I need to change the value of a model field "verified" on button click and redirect it to mail url so the the verified ...
I'm looking for a way to start URL with ('') instead of ('search/') in AJAX request. I can workaround this problem simply add new path in URL dispatch ...