Updated lib for django 1.5 using custom models