From f656ec438ee13927a054b44b31ddc3577894f50d Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Mon, 28 Dec 2015 14:50:37 +0100 Subject: [PATCH] docs: add showfields import change --- docs/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index fc4a27e..dbc7f82 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -202,7 +202,7 @@ Nicely Displaying Polymorphic Querysets In order to get the output as seen in all examples here, you need to use the :class:`~polymorphic.showfields.ShowFieldType` class mixin:: - from polymorphic import PolymorphicModel, ShowFieldType + from polymorphic.showfields import PolymorphicModel, ShowFieldType class ModelA(ShowFieldType, PolymorphicModel): field1 = models.CharField(max_length=10)