Added __unicode__ to loaded fk data. Added doubleclick loading of model instances...
[philo.git] / __init__.py
1 from philo.loaders.database import Loader
2
3
4 _loader = Loader()
5
6
7 def load_template_source(template_name, template_dirs=None):
8     # For backwards compatibility
9     import warnings
10     warnings.warn(
11         "'philo.load_template_source' is deprecated; use 'philo.loaders.database.Loader' instead.",
12         PendingDeprecationWarning
13     )
14     return _loader.load_template_source(template_name, template_dirs)
15 load_template_source.is_usable = True