Developing with Django removing extra code