comparison 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
comparison
equal deleted inserted replaced
76:16ee6de925d1 77:fb737a306703
65 'django.contrib.auth.middleware.AuthenticationMiddleware', 65 'django.contrib.auth.middleware.AuthenticationMiddleware',
66 ) 66 )
67 67
68 ROOT_URLCONF = 'hgscm.urls' 68 ROOT_URLCONF = 'hgscm.urls'
69 69
70 MERCURIAL_TRICKS = os.path.join(BASE_DIR, "templates/tricks")
71
70 TEMPLATE_DIRS = ( 72 TEMPLATE_DIRS = (
71 os.path.join(BASE_DIR, "templates"), 73 os.path.join(BASE_DIR, "templates"),
72 ) 74 )
73 75
74 INSTALLED_APPS = ( 76 INSTALLED_APPS = (