Make support layout of Django >= 1.4