Browse Source

fix the template_dir and hgignore theme directories

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
abac1b5bbb
  1. 2
      pyweb/settings.py

2
pyweb/settings.py

@ -214,7 +214,7 @@ MIDDLEWARE_CLASSES = (
ROOT_URLCONF = 'pyweb.urls' ROOT_URLCONF = 'pyweb.urls'
if THEME: if THEME:
TEMPLATE_DIRS = [ join( MUMBLE_DJANGO_ROOT, 'themes', THEME, 'templates' ) ]
TEMPLATE_DIRS = [ join( MUMBLE_DJANGO_ROOT, 'themes', THEME ) ]
else: else:
TEMPLATE_DIRS = [] TEMPLATE_DIRS = []

Loading…
Cancel
Save