From 63e123e4fc794bad0b40113cacf8b39cc3a49d00 Mon Sep 17 00:00:00 2001 From: Brandon Taylor Date: Mon, 25 Aug 2014 09:24:22 -0400 Subject: [PATCH] Update usage.rst --- docs/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.rst b/docs/usage.rst index ceed536..392b9c2 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -22,7 +22,7 @@ It is also possible to order objects relative to another object that is a Foreig .. note:: A small caveat here is that ``Category`` must also either inherit from ``Sortable`` or include an ``order`` property which is a ``PositiveSmallInteger`` field. This is due to the way Django admin instantiates classes. -from adminsortable.fields import SortableForeignKey + from adminsortable.fields import SortableForeignKey # models.py class Category(Sortable):