예제 #1
0
파일: views.py 프로젝트: Hackbyrd/legacy
def square(request, num):
    return HttpResponse(simplejson.dumps(_sqr.sqr(int(num))), mimetype="application/json")
예제 #2
0
파일: sqr.py 프로젝트: Hackbyrd/legacy
def sqr(*args):
  return _sqr.sqr(*args)