Python Django Tutorial #2: Django routing, Django request response | Django blog project

Published: 22 February 2020
on channel: Red Eyed Coder Club
2,486
49

This Python Django Tutorial is about Django routing, and Django request response cycle. This is the third video of Python Django tutorial. In this Django Tutorial we'll see how Django routes users requests and how Django responses to these requests. Also we'll look at how to send to a User response from a Django app.

So the video is about Django url mapping and dispatching, Django request and response cycle in Django framework.

Django routes a User's request this way:
- Django maps urls in urls.py file. In this urls.py file we describe the functions (or classes) that will handle requests to a certain URLs. These functions in Django terminology are called views.
- Django views.py file contains the functions that will handle User's requests and return a response
- In this Django course I used html files (templates) that will be rendered to a User by Django views.

So the Django request and response cycle (or just Django routing) is the urls.py - views.py - templates files.


Follow me @:
Telegram: https://t.me/red_eyed_coder_club
Twitter:   / codereyed  
Facebook: https://fb.me/redeyedcoderclub


============ SOURCE CODE ================
📎️ The SOURCE CODE is available via Patreon:
  / django-3-blog-34240101  
======================================


✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:
  / red_eyed_coder_club  

or its landing:
https://red-eyed-coder-club.github.io...


➥ Please ➥ Like ➥ Comment ➥ Subscribe


▶️ This Django blog tutorial. List of videos:

#0. Demo
   • Python Django Tutorial #0: Demo of Dj...  

#1. Django Project Structure
   • Python Django Tutorial #1: Django str...  

#2. Django routing, Django url mapping tutorial, Django request and response cycle:
   • Python Django Tutorial #2: Django rou...  

#3. Template Inheritance
   • Python Django Tutorial #3: Django Tem...  

#4. Models. Blog Posts
   • Python Django Tutorial #4: Django Mod...  

#5. Tag Model and ManyToMany Relationships
   • Python Django Tutorial #5: Django Man...  

#6. Class Based Views and using Mixins
   • Python Django Tutorial #6: Django Cla...  

#7. Django Forms. Creating Tags.
   • Python Django Tutorial #8: Django Mod...  

#8. Forms. Creating Posts
   • Python Django Tutorial #8: Django Mod...  

#9. Updating via Forms
   • Python Django Tutorial #9: Django Upd...  

#10. Deleting via Forms
   • Python Django Tutorial #10: Django De...  

#11. Using custom CSS
   • Python Django Tutorial #11: Django st...  

#12. Restricting access
   • Python Django Tutorial #12: Django pe...  

#13. Django Pagination
   • Python Django Tutorial #13: Django Pa...  

#14. Django Basic Search
   • Python Django Tutorial #14: Django Ba...  


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

🔹Django Tutorial: Blog Engine
   • Python Django Tutorial #0: Demo of Dj...  

🔹Kivy Tutorial: Coppa Project
   • Python Kivy tutorial #0: Demo Project...  

🔹Telegram Bot with Python (CoinMarketCap)
   • Python Telegram Bot Tutorial: Demo an...  

🔹Python Web Scraping
   • Python Ebay Scraping Tutorial: Web sc...  


➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:
Subscribe ⇢    / @redeyedcoderclub  

Python Django 3 Tutorial #2: Django routing, Django request response | Django 3 Crash Course
   • Python Django Tutorial #2: Django rou...  


#django #djangotutorial #redeyedcoderclub