9👍
✅
I have removed unnecessary path insert
sys.path.insert(0, '/var/www/.virtualenvs/cp/lib/python3.4/site-packages/django')
Seems that this solves original error.
👤Leo
Source:stackexchange.com