Skip to content

mutuajames/django-ajax-xhr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

  1. Fork/Clone:

  2. 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 runserver

    Navigate to http://localhost:8000/.

For the jQuery examples, use the jquery branch: https://github.com/testdrivenio/django-ajax-xhr/tree/jquery.

Demo

About

Django AJAX and XHR (XMLHttpRequest) examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.9%
  • HTML 31.1%
  • JavaScript 13.8%
  • CSS 1.2%