django-ajax-xhr
django-ajax-xhr copied to clipboard
Django AJAX and XHR (XMLHttpRequest) examples
Working with AJAX in Django
Perform GET, POST, PUT, and DELETE AJAX requests in Django with the Fetch API and jQuery.
Want to learn how to build this?
Check out the post.
Want to use this project?
-
Fork/Clone:
-
Run:
$ python3.9 -m venv venv $ source venv/bin/activate (env)$ pip install -r requirements.txt (env)$ python manage.py migrate (env)$ python manage.py seed_db (env)$ python manage.py runserverNavigate to http://localhost:8000/.
For the jQuery examples, use the
jquerybranch: https://github.com/testdrivenio/django-ajax-xhr/tree/jquery.
Demo
