In this tutorial, we will create and style a page to view separate blog posts for our Blog website application with Django and Python.
Get free access to my every month tips, tutorials, and resources, to improve your coding skills here: https://allcodejoker.pythonanywhere.com
We'll create base.html file for storing our page structures in there.
We'll also create a new blog_post_details.html file and view our individual blog posts using pk (id) field from BlogPost database model.
#django #djangobeginners #djangotutorials #djangodjango #djangoproject #allcodejoker
All Code Joker GitHub: https://github.com/allcodejoker
Timecodes
0:00 - Introduction
1:00 - Create base.html For Page Structure
4:30 - Append base.html Page Structure To Our Homepage
6:10 - Create blog_post_details.html For Separate Blog Post Pages
6:50 - Create blog_post_details View
9:30 - Print Blog Post Titles In blog_post_details.html
10:45 - Create An Url For Separate Blog Post Page In urls.py
12:20 - Add A Link Tag To The Title Of Blog Post In Homepage
13:40 - Style The Separate Blog Post Page
14:05 - Conclusion