Fixing django 1.5, plus better error reporting