From 45df45c994a6ea089a0bf9203152084cd811a891 Mon Sep 17 00:00:00 2001 From: kevinroche Date: Thu, 13 Aug 2015 10:53:04 -0400 Subject: [PATCH] Update index.rst Fixing a bug in the example for registering a model. --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index c73cbe4f..72c30fce 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -139,7 +139,7 @@ To register a model, import the ``tagging.registry`` module and call its class Widget(models.Model): name = models.CharField(max_length=50) - tagging.register(Widget) + register(Widget) The following argument is required: