Fixed issue with django 1.7 duplicate related fields