stars and tags instead of shelves, move to social app
[wolnelektury.git] / apps / social / templatetags / social_tags.py
diff --git a/apps/social/templatetags/social_tags.py b/apps/social/templatetags/social_tags.py
new file mode 100755 (executable)
index 0000000..1b26d91
--- /dev/null
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
+from django import template
+from social.utils import likes
+
+register = template.Library()
+
+register.filter('likes', likes)