views.generic.detail.SingleObjectMixin.model

model

The model that this view will display data for. Specifying model = Foo is effectively the same as specifying queryset = Foo.objects.all(), where objects stands for Foo’s default manager.

doc_Django
2016-10-09 18:41:02
Comments
Leave a Comment

Please login to continue.