Added support django 1.3