Skip to content

Commit 27824ef

Browse files
committed
Fix documentation bug, thanks Damien Ayers.
1 parent 910f278 commit 27824ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ For example:
660660
.. code-block:: python
661661
662662
from django_tables2.views import SingleTableMixin
663-
from django.generic.views.list import ListView
663+
from django.views.generic.list import ListView
664664
665665
666666
class Simple(models.Model):
@@ -692,8 +692,8 @@ when one isn't explicitly defined.
692692
.. note::
693693

694694
If you want more than one table on a page, at the moment the simplest way
695-
to do it is to use ``SimpleTableMixin`` for one table, and write the
696-
boilerplate for the other yourself in ``get_context_data()``. Obviously
695+
to do it is to use ``SimpleTableMixin`` for one of the tables, and write
696+
the boilerplate for the other yourself in ``get_context_data()``. Obviously
697697
this isn't particularly elegant, and as such will hopefully be resolved in
698698
the future.
699699

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy