Switched template loading from Template.loader to philo.loaders.database.Loader in...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 17 Nov 2010 16:05:28 +0000 (11:05 -0500)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 17 Nov 2010 16:22:01 +0000 (11:22 -0500)
commit88b23340408306299605a34a7b14561737b7403d
treeaa36a35a4a6b48b62e9059ed29fecb63469397aa
parent912a95819b6d8f8bb3a510c14a9f7b3cb060108a
Switched template loading from Template.loader to philo.loaders.database.Loader in keeping with Django's recommended way of implementing loaders. Note that the origin of the template is considered to be the actual instance instead of a path, as this seems more strictly accurate. The instance is converted to unicode by the loader to more correctly fit the expected "display_name". Removed origin and django_template properties from templates. Corrected a minor error in the node_url templatetag for contexts not containing 'node'.
__init__.py
loaders/__init__.py [new file with mode: 0644]
loaders/database.py [new file with mode: 0644]
models/pages.py
templatetags/nodes.py