Added ifelseforDjango