update to support django1.5