Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

should either include a `queryset` attribute,

Every view needs a queryset defined to know what objects to look for.
You define the view's queryset by using the queryset attribute 
(as I suggested) or returning a valid queryset from a get_queryset method
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #include
ADD COMMENT
Topic
Name
8+6 =