2016-03-07 Djangoでリクエストがajaxかどうか判定する Django Python Web これだけ def index(request): request.is_ajax() return HttpResponse()