Skip to content

Class in example for SingleTableMixin inherits from SingleTableView #977

@keikoro

Description

@keikoro

The code example for SingleTableMixin in the docs does not reference SingleTableMixin anywhere; what's shown is a class which inherits from SingleTableView:

from django_tables2 import SingleTableView

class PersonList(SingleTableView):
model = Person
table_class = PersonTable

The example for MultiTableMixin further down the page does include a class inheriting from MultiTableMixin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions