upgrade django built-in tag for  1.6