Below are ways to fix AttributeError: 'Request' object has no attribute 'accepted_renderer' error. 1. Install pyyaml pip install pyyaml OR 2. Revert Django REST Framework (DRF) pip install djangorestframework==3.8.0 OR 3. Ignore decode on your ViewSet class MyCoolViewset(viewsets.ModelViewSet): def...
- Home
- Tags
- API