示例#1
0
def index(request):
    """
    Return json array with states
    """
    return JsonResponse(_get_state())
示例#2
0
 def index(self):
     return _get_state()
示例#3
0
def get_state():
    return jsonify(_get_state())
示例#4
0
def get_state():
    return jsonify(_get_state())