1.4 compatibility tweak

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