from django.shortcuts import render
from django.views.generic import ListView, DetailView
from .models import Post

# Create your views here.
class HomeView(ListView):
    model = Post
    template_name = "index.html"


class ArticleDetailView(DetailView):
    model = Post
    template_name = "article.html"


2fb0b75a538bd0448336d61529e2e8c121515611
<mask token>


class ArticleDetailView(DetailView):
    model = Post
    template_name = 'article.html'

<mask token>


class HomeView(ListView):
    <mask token>
    <mask token>


class ArticleDetailView(DetailView):
    model = Post
    template_name = 'article.html'

<mask token>


class HomeView(ListView):
    model = Post
    template_name = 'index.html'


class ArticleDetailView(DetailView):
    model = Post
    template_name = 'article.html'

from django.shortcuts import render
from django.views.generic import ListView, DetailView
from .models import Post


class HomeView(ListView):
    model = Post
    template_name = 'index.html'


class ArticleDetailView(DetailView):
    model = Post
    template_name = 'article.html'

from django.shortcuts import render
from django.views.generic import ListView, DetailView
from .models import Post

# Create your views here.
class HomeView(ListView):
    model = Post
    template_name = "index.html"


class ArticleDetailView(DetailView):
    model = Post
    template_name = "article.html"

