Browse Source

didn't register the tags properly

pull/86/head
James Moore 8 years ago
parent
commit
1520d7fc9a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      hc/front/templatetags/hc_extras.py

+ 2
- 0
hc/front/templatetags/hc_extras.py View File

@ -41,9 +41,11 @@ def settings_value(name):
return getattr(settings, name, "") return getattr(settings, name, "")
@register.simple_tag
def site_name(name): def site_name(name):
return settings.SITE_NAME return settings.SITE_NAME
@register.simple_tag
def site_root(name): def site_root(name):
return settings.SITE_ROOT return settings.SITE_ROOT

Loading…
Cancel
Save