Django AJAX Tutorial: Basic AJAX in Django app with Fetch API | Django casts



Django AJAX Tutorial: Basic AJAX in Django app with Fetch API | Django casts

Django AJAX Tutorial: Basic AJAX in Django app with Fetch API | Django casts

This Django AJAX Tutorial is about how to do basic AJAX using Fetch API with Django framework. That is how to perform AJAX GET and POST requests (xhr requests) to Django with Fetch API.
This Basic Django AJAX Tutorial goes over some of the basics you need to do and know when doing AJAX in Django project.

============ FOLLOW ME =================
Telegram: https://t.me/red_eyed_coder_club
Twitter: https://twitter.com/CoderEyed
Facebook: https://fb.me/redeyedcoderclub

============ SOURCE CODE ================
📎️ Is available via Patreon:
https://www.patreon.com/posts/69077376
=========================================

Timecodes:

00:00 – Beginning. Demo of the project.
00:44 – Description of the starting Django project.
01:50 – Adding a JavaScript file
02:14 – Simple example of JavaScript onclick event handler
04:00 – Sending an AJAX GET request to Django with Fetch API
09:21 – Sending AJAX POST request to Django with Fetch API
12:58 – Getting CSRF token for an AJAX POST request
16:35 – Handling an AJAX POST request on the Django side.

✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:
https://www.patreon.com/red_eyed_coder_club

or its landing:
https://red-eyed-coder-club.github.io/courses/practical-python-web-scraping

✴️✴️✴️ PLAYLISTS ✴️✴️✴️

🔹Django Tutorial: Blog Engine
https://www.youtube.com/watch?v=WeaL8o19D_E&list=PLe4mIUXfbIqbbqgDSY6z9orgzIwvYZjtw

🔹Kivy Tutorial: Coppa Project
https://www.youtube.com/watch?v=KftWys2cUfs&list=PLe4mIUXfbIqbeT-2SxDy_IbQYU4yn2gA6

🔹Telegram Bot with Python (CoinMarketCap)
https://www.youtube.com/watch?v=cX8m3sp_w84&list=PLe4mIUXfbIqbpQkE2Q_iQic6a8v-2k_m4

🔹Python Web Scraping
https://www.youtube.com/watch?v=m4hEAhHHykI&list=PLe4mIUXfbIqZkxlbr5cUVhn3LQOWQ67Bd

➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:
Subscribe ⇢ https://www.youtube.com/channel/UCh_LSaTv2GeZ3woJNTGihew?sub_confirmation=1

Django AJAX Tutorial: Basic AJAX in Django app with Fetch API | Django casts
https://youtu.be/S2gkqC1fmbA

#django #djangoajax #redeyedcoderclub

Comments are closed.