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