mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-03-17 05:40:24 +00:00
12 lines
203 B
Python
12 lines
203 B
Python
from django.views.generic import ListView, DetailView
|
|
|
|
from .models import Post
|
|
|
|
|
|
class PostListView(ListView):
|
|
model = Post
|
|
paginate_by = 10
|
|
|
|
|
|
class PostDetailView(DetailView):
|
|
model = Post
|