                      {'id': 2, username_field: 'userB'}, # PassC
                      {'id': 3, username_field: 'userC'}, # PassA
                  ]
              )
 
</s> remove             ) </s> add  </s> remove     ordering_param = 'ordering'  # The URL query parameter used for the ordering.
 </s> add     # The URL query parameter used for the ordering.
    ordering_param = api_settings.ORDERING_PARAM </s> remove     search_param = 'search'  # The URL query parameter used for the search.
 </s> add     # The URL query parameter used for the search.
    search_param = api_settings.SEARCH_PARAM
            )
                      {'id': 2, username_field: 'userB'}, # PassC
                      {'id': 3, username_field: 'userC'}, # PassA
                  ]
              )
            )
keep keep keep add
 Add SEARCH_PARAM and ORDERING_PARAM to settings

Fixes #1434 
rest_framework/tests/test_filters.py