X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/30a08f353e2282b993db3d3079608b0736a2ccb6..bf7348280872f3e17f6cb766f27d57c41d9e2ae0:/models/collections.py diff --git a/models/collections.py b/models/collections.py index 9a737eb..539ecdb 100644 --- a/models/collections.py +++ b/models/collections.py @@ -3,6 +3,7 @@ from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes import generic from philo.models.base import value_content_type_limiter, register_value_model from philo.utils import fattr +from django.template import add_to_builtins as register_templatetags class Collection(models.Model): @@ -42,4 +43,5 @@ class CollectionMember(models.Model): app_label = 'philo' +register_templatetags('philo.templatetags.collections') register_value_model(Collection) \ No newline at end of file