Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django class based views ListView

# views.py
from django.views.generic import ListView
from books.models import Publisher

class PublisherListView(ListView):
    model = Publisher
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #class #based #views #ListView
ADD COMMENT
Topic
Name
7+1 =