📜  基于 django 类的视图 ListView - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:16.480000             🧑  作者: Mango

代码示例1
# views.py
from django.views.generic import ListView
from books.models import Publisher

class PublisherListView(ListView):
    model = Publisher