File should be a value model, right?
[philo.git] / philo / models / __init__.py
1 from django.conf import settings
2 from django.contrib.auth.models import User, Group
3 from django.contrib.sites.models import Site
4
5 from philo.models.base import *
6 from philo.models.collections import *
7 from philo.models.nodes import *
8 from philo.models.pages import *
9
10
11 register_value_model(User)
12 register_value_model(Group)
13 register_value_model(Site)
14
15 if 'philo' in settings.INSTALLED_APPS:
16         from django.template import add_to_builtins
17         add_to_builtins('philo.templatetags.embed')
18         add_to_builtins('philo.templatetags.containers')
19         add_to_builtins('philo.templatetags.collections')
20         add_to_builtins('philo.templatetags.nodes')