X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/c9802c5cb6ad16a895cd5434d6f7695d1ae930f7..feec5e756a0f6b869fcf87d05e3415f6e319d041:/philo/models/collections.py?ds=sidebyside diff --git a/philo/models/collections.py b/philo/models/collections.py index 7c773b3..be7b706 100644 --- a/philo/models/collections.py +++ b/philo/models/collections.py @@ -1,12 +1,14 @@ from django.contrib.contenttypes import generic from django.contrib.contenttypes.models import ContentType from django.db import models -from django.template import add_to_builtins as register_templatetags from philo.models.base import value_content_type_limiter, register_value_model from philo.utils import fattr +__all__ = ('Collection', 'CollectionMember') + + class Collection(models.Model): """ Collections are curated ordered groupings of arbitrary models. @@ -73,5 +75,4 @@ class CollectionMember(models.Model): app_label = 'philo' -register_templatetags('philo.templatetags.collections') register_value_model(Collection) \ No newline at end of file