Adding a detail view for post model.
Each post will get a unique url that will only show the post itself and let the user to interact with it.
Each post detail view url will be /post/post_id/ where post_id should be replaced with the desire post id.
Added a post detail view html template
Set up detail view for posts via views.py file, used Django's DetailView class
Adding a detail view for post model. Each post will get a unique url that will only show the post itself and let the user to interact with it. Each post detail view url will be
/post/post_id/
wherepost_id
should be replaced with the desire post id.views.py
file, used Django's DetailView classThe post detail view screenshot:
Close #115