redo models again

This commit is contained in:
Jens Langhammer
2018-11-16 11:41:14 +01:00
parent de7a2fa034
commit c1276e9695
17 changed files with 139 additions and 88 deletions

View File

@ -76,7 +76,7 @@ def pick(cont, arg, fallback=''):
@register.simple_tag(takes_context=True)
def title(context, *title):
"""Return either just branding or title - branding"""
branding = Setting.get('branding', default='passbook')
branding = CONFIG.y('passbook.branding', 'passbook')
if not title:
return branding
# Include App Title in title