Within Django‘s projects for the development of REST API‘s, they have a package called Django Rest Framework.
Django Rest Framework makes developing REST API‘s simple and easy since it superbly complements the Django-style architerchture.
Everything you need to have a reliable and maintainable API could be implemented with the composition of serializer, permission, view, throttling, authentication, pagination classes in DRF. If you have a scenario that does not implement with DRF you can easily write your custom class and replace it with the original class in settings.
DRF also has a browseable API renderer like Swagger that no need to install an extra package for this.