Support for django greater than 1.4