1👍
✅
For anyone that stumbles upon this question:
I’ve experienced an error like this before, got it working by commenting out url patterns in urls.py
. There may be a rouge import in one of your views and since your admin panel imports all views found in your url patters, try commenting them out 1 by 1 and you might spot the culprit.
Source:stackexchange.com