replce get_date_formats with get_format and remove admin_site.root_path for django 1.4 compat