from django.shortcuts import render, redirect, get_object_or_404
from django.views.generic import ListView, DetailView
from .models import Post
post_list = ListView.as_view(model=Post)
post_detail = DetailView.as_view(model=Post)

91bc5077d0ecbf8d0da38a971cf4de4241e4c0b5
<mask token>

<mask token>
post_list = ListView.as_view(model=Post)
post_detail = DetailView.as_view(model=Post)

from django.shortcuts import render, redirect, get_object_or_404
from django.views.generic import ListView, DetailView
from .models import Post
post_list = ListView.as_view(model=Post)
post_detail = DetailView.as_view(model=Post)
