1👍
Since you don’t want to refresh the page when you are posting a request, you would want to make a Asynchronous Request to the Server. JQuery, Javascript library has some neat functions which would help you make an asynchronous request. After the server receives the request, it can perform computation can send an HttpResponse with HTML, XML or JSON data as mentioned by Brandon
This is a wiki page for the Tutorial on Ajax with Django
0👍
You need to return an HttpResponse. It’s up to you whether or not to return XML, JSON, HTML, etc. Your request has to be made via Ajax.
https://docs.djangoproject.com/en/1.4/ref/request-response/#django.http.HttpResponse
- [Answer]-Persistent Selection Multiselect Listbox Entries
- [Answer]-View permission if request data not in queryset
- [Answer]-Django unittesting user login appears to be unauthorized
Source:stackexchange.com