I have recently upgraded my Django to 3.1.5 and my DRF to 3.12.2, and something in my application has stopped working.
I have the following structure in my models and