Allow Django >= 1.6