fix admin templates to work with django 1.5