Solved Django example