The Django REST Framework(DRF) is a framework for quickly building robust REST API’s. However when fetching models with nested relationships we run into performance issues. DRF becomes slow . This isn’t due to DRF itself, but rather due to the n+1 problem.