Commit a00fbc0a by Nicholas Serra

Docs update

parent 1952c59e
...@@ -69,6 +69,16 @@ playing around with the API. ...@@ -69,6 +69,16 @@ playing around with the API.
>>> apple.tags.slugs() >>> apple.tags.slugs()
[u'green-and-juicy', u'red'] [u'green-and-juicy', u'red']
.. hint::
You can subclass ``_TaggableManager`` (note the underscore) to add
methods or functionality. ``TaggableManager`` takes an optional
manager keyword argument for your custom class, like this::
class Food(models.Model):
# ... fields here
tags = TaggableManager(manager=_CustomTaggableManager)
Filtering Filtering
~~~~~~~~~ ~~~~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment