Skip to content

Commit

Permalink
[#847] Add template path explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Dec 13, 2013
1 parent edbb75a commit 9a75c9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/example_theme/v02_empty_template/plugin.py
Expand Up @@ -16,4 +16,6 @@ def update_config(self, config):

# Add this plugin's templates dir to CKAN's extra_template_paths, so
# that CKAN will use this plugin's custom templates.
# 'templates' is the path to the templates dir, relative to this
# plugin.py file.
toolkit.add_template_directory(config, 'templates')

0 comments on commit 9a75c9f

Please sign in to comment.