Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/content/08_web_frameworks/30_views_and_routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -124,4 +124,4 @@ class PostListView(ListView):
class PostDetailView(DetailView):
model = Post

```
```