Added a fix for django 1.7 to prevent the App Registry not ready error