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