X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/4b094dbc60c3853814c2523d5772e4cf2884a073..22c4e979b5ad061e448318310fddc4bb8fc56465:/models/collections.py?ds=inline 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