Fix url bug Django >= 1.5