1. This comes from the REST_FRAMEWORK.FILTERS. Update the API\VIEWS.PY as:
Update the BlogsView class:
2. Run your browser and you can view the IDs in ascending or descending order.
3. You can also sort by blog_title:
4. Just like the SEARCH_PARAM where we override it with our own label, we can do the same thing for ordering, we use the ORDERING_PARAM. Add this in our SETTINGS.PY:
No PDF file attached.