def title_and_tagline(request): try: s = Settings.get_current() return { 'SITE_TITLE': s.title, 'SITE_TAGLINE': s.tagline } except: return {}