1👍
✅
So, in short we found (see above comments) a file api/views.py
which got loaded in preference to the files in api/views/. That got deleted and the problem went away 🙂
Source:stackexchange.com