better django templates [MJ-474]