Modified Templates in to django1.4