change to version 1.7 for django