First commit to Fossee of testapp has the basic Pykata framework on django with some specific changes to Problems model and some views to suit an exam like system
function loadcode(id) {
$("#solve_" + id).load(location.protocol + "//" + location.host +
"/code/" + id + "/");
}