diff --git a/docs/pages/generic-mixins.rst b/docs/pages/generic-mixins.rst index fef61715..6a6b6f97 100644 --- a/docs/pages/generic-mixins.rst +++ b/docs/pages/generic-mixins.rst @@ -13,7 +13,8 @@ template. The following view parameters are supported: -- ``table_class`` –- the table class to use, e.g. ``SimpleTable`` +- ``table_class`` –- the table class to use, e.g. ``SimpleTable``, if not specfied + a default table will be provided. - ``table_data`` (or ``get_table_data()``) -- the data used to populate the table - ``context_table_name`` -- the name of template variable containing the table object - ``table_pagination`` (or ``get_table_pagination``) -- pagination @@ -60,7 +61,7 @@ when one isn't explicitly defined. Multiple tables using `.MultiTableMixin` --------------------------------------------- +--------------------------------------- If you need more than one table in a single view you can use `MultiTableMixin`. It manages multiple tables for you and takes care of adding the appropriate diff --git a/docs/pages/tutorial.rst b/docs/pages/tutorial.rst index 7ae59f78..da2e1126 100644 --- a/docs/pages/tutorial.rst +++ b/docs/pages/tutorial.rst @@ -126,7 +126,10 @@ There are several topic you can read into to futher customize the table: - Table data - :ref:`Populating the table with data `, - :ref:`Filtering table data ` -- Custumizing the rendered table +- Customizing the rendered table - :ref:`Headers and footers ` - :ref:`pinned_rows` - :ref:`api-public` + +If you think you don't have a lot customization to do and don't want to make +a full class declaration use ``django_tables2.tables.table_factory``.