$('#double-fields').on('change', function () {
$(this).attr('checked', function(_, attr){ return !attr});
});
resp_status_all=[]
for r in contract.responsible:
resp_status_all.append(Resp_status(responsible=r, contract = contract.id))
Resp_status.objects.bulk_create(resp_status_all)
from django.contrib.auth import authenticate, login
user = authenticate(username=username, password=password)
if user is not None:
login(request, user)
val = json.loads(request.body)
print(val['json']['data'])
val = ast.literal_eval(request.body.decode('utf-8'))
print(val['json']['data'])
Accept international transactions from customers worldwide. However, your business must be based in the United States, Canada, United Kingdom, Europe or Australia. For additional international locations, please see CyberSource Advanced.