def application(request): try: return {'APP': Application.current(), 'WORDS': settings.WORDS, 'GLOBAL_VARS': settings.GLOBAL_VARS,} except: return {'APP': 'aw'}
def application(request): try: app = Application.current() except: app = "aw" return {"APP": app, "WORDS": settings.WORDS, "GLOBAL_VARS": settings.GLOBAL_VARS}