apache template edit for simpler django 1.5 support.