https://github.com/studygyaan/how-to-integrate-ajax-with-django-applications
How to Integrate Ajax with Django applications
https://github.com/studygyaan/how-to-integrate-ajax-with-django-applications
django django-ajax django-framework python
Last synced: about 2 months ago
JSON representation
How to Integrate Ajax with Django applications
- Host: GitHub
- URL: https://github.com/studygyaan/how-to-integrate-ajax-with-django-applications
- Owner: studygyaan
- Created: 2019-06-22T17:21:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T20:32:45.000Z (about 2 years ago)
- Last Synced: 2025-02-16T08:44:15.664Z (4 months ago)
- Topics: django, django-ajax, django-framework, python
- Language: Python
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to Integrate Ajax with Django applications
## Tutorial Link - http://studygyaan.com/django/how-to-integrate-ajax-with-django-applications
In this tutorial, we are going to learn how to use AJAX with Django to make web applications more fast and dynamic. We will send AJAX request and using Django AJAX Response we will update the web page. For this tutorial, I am using JQuery. You can also handle AJAX with Django libraries like django-dajax or Javascript. But the concept of working with AJAX request with Django will be the same.
### Setup
1. Create a folder and put all the files inside it.
2. Create a virtual environtment - `virtualenv env`
3. Activate VirtualENV - `. env/bin/activate`
4. Run Requirements.txt - `pip3 install -r requirements.txt`
5. Run the Application - `python3 manage.py runserver`
6. Go to - http://localhost:8000/simpleajax/We already have data in database SQLite. If you put `huzaif` in username field it will give message 'User name Already Exists'