Import these from `rest_framework.compat` for 1.3 compatiblity