fix for older django