From 0b2c4fbe34e6e3d7ddf2fddc515a6574ad54380b Mon Sep 17 00:00:00 2001 From: Michal Petrik Date: Sun, 1 May 2022 14:14:57 +0200 Subject: [PATCH] Update 30_views_and_routes.md --- website/content/08_web_frameworks/30_views_and_routes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/content/08_web_frameworks/30_views_and_routes.md b/website/content/08_web_frameworks/30_views_and_routes.md index e2fdd17..67feec1 100644 --- a/website/content/08_web_frameworks/30_views_and_routes.md +++ b/website/content/08_web_frameworks/30_views_and_routes.md @@ -8,8 +8,8 @@ Views and routes allow us to map URLs in our web application to pages, API endpo Currently, our blog has 3 different sections. 1. The index at `/` which displays all of our posts. -1. Detail pages for each blog post, available at / followed by the post slug -1. A static `about` page in the header. +2. Detail pages for each blog post, available at / followed by the post slug +3. A static `about` page in the header. ### Routes @@ -124,4 +124,4 @@ class PostListView(ListView): class PostDetailView(DetailView): model = Post -``` \ No newline at end of file +```