From d888d155344e1a000fd79b6869fbd5634b1cf2cb Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 20 Mar 2016 16:35:39 +0000 Subject: Import python-django-tagging_0.4.1.orig.tar.gz --- docs/index.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/index.rst') diff --git a/docs/index.rst b/docs/index.rst index c73cbe4..5dd2582 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: @@ -160,7 +160,7 @@ with your model class' definition: See `TagDescriptor`_ below for details about the use of this descriptor. -``tagged_item_manger_attr`` +``tagged_item_manager_attr`` The name of an attribute in the model class which will hold a custom manager for accessing tagged items for the model. Default: ``'tagged'``. @@ -884,3 +884,4 @@ The tag must be an instance of a ``Tag``, not the name of a tag. Example:: {% tagged_objects comedy_tag in tv.Show as comedies %} + -- cgit v1.2.3