diff options
author | Christopher Baines <mail@cbaines.net> | 2016-03-20 16:35:39 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2016-03-20 16:35:39 +0000 |
commit | d888d155344e1a000fd79b6869fbd5634b1cf2cb (patch) | |
tree | 656b346e97dc33b42641fb5672ca520fedec3c93 /docs | |
parent | d65aa3c3c146b12548a54c894060bce9a8715ad2 (diff) | |
download | python-django-tagging-d888d155344e1a000fd79b6869fbd5634b1cf2cb.tar python-django-tagging-d888d155344e1a000fd79b6869fbd5634b1cf2cb.tar.gz |
Import python-django-tagging_0.4.1.orig.tar.gzupstream/0.4.1upstream
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 5 |
1 files changed, 3 insertions, 2 deletions
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 %} + |