This is the example project for implementing Ajax in Django Project.
Guide link: https://djangopy.org/learn/step-up-guide-to-implement-ajax-in-django/
-
Clone repository
git clone https://github.com/djangopy-org/ajax_guide
-
cd to repository.
-
Create a virtualenv by following command
-
For Linux/Mac
virtualenv -p python3 .
-
For Windows
virtualenv .
-
-
Activate virtualenv
-
For Linux/Mac
source bin/activate
-
For Windows
.\Scripts\activate
-
-
Install required packages
-
For Linux/Mac
pip3 install -r requirements.txt
-
For Windows
pip install -r requirements.txt
-
-
cd to src and run the server
-
For Linux/Mac
python manage.py runserver
-
For Windows
python manage.py runserver
-