diff hgscm/settings.py @ 77:fb737a306703

templatetags: Add mercurial_tricks templatetag mercurial_tricks displays a random 'trick' from the templates/tricks/ directory. The intention is to show the visitor various tricks around mercurial, how to do certain things during browsing.
author David Soria Parra <dsp@php.net>
date Fri, 20 Feb 2009 15:12:33 +0100
parents b3d9cbb33d54
children 8d25e34c21c2
line wrap: on
line diff
--- a/hgscm/settings.py	Thu Feb 19 15:05:00 2009 +0100
+++ b/hgscm/settings.py	Fri Feb 20 15:12:33 2009 +0100
@@ -67,6 +67,8 @@
 
 ROOT_URLCONF = 'hgscm.urls'
 
+MERCURIAL_TRICKS = os.path.join(BASE_DIR, "templates/tricks")
+
 TEMPLATE_DIRS = (
     os.path.join(BASE_DIR, "templates"),
 )