Skip to content

Commit

Permalink
Add filter to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Oct 31, 2011
1 parent dc02231 commit af373e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/templatetags.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
.. _templatetags:

Filters
=======

likes_count
-----------

This simple returns the count of likes for a given object::

{{ obj|likes_count }}


Template Tags
=============

Expand Down

0 comments on commit af373e8

Please sign in to comment.