How to get the detailed page by slug and not id in Django Rest Framework class based views
How to get the detailed page by slug and not id in Django Rest Framework class based views Question: I am building an API using Django Rest Framework. I have the /api/localities endpoint where all of the objects on my database are displayed. Now I want to create the endpoint for a single page of …