Open rhoerbe opened 5 years ago
GvUserPortalOperator is a proxy class. any search like http://localhost:8000/admin/tnadmin/gvuserportaloperator/?q=L9
will fail with:
http://localhost:8000/admin/tnadmin/gvuserportaloperator/?q=L9 2.1.4 FieldError Related Field got invalid lookup: icontains /Users/admin/virtualenvs/PVZDweb/lib/python3.6/site-packages/django/db/models/sql/query.py in build_lookup, line 1087
work-around: remove search in admin
GvUserPortalOperator is a proxy class. any search like http://localhost:8000/admin/tnadmin/gvuserportaloperator/?q=L9
will fail with:
http://localhost:8000/admin/tnadmin/gvuserportaloperator/?q=L9 2.1.4 FieldError Related Field got invalid lookup: icontains /Users/admin/virtualenvs/PVZDweb/lib/python3.6/site-packages/django/db/models/sql/query.py in build_lookup, line 1087