identinetics / PVZDweb

Other
0 stars 0 forks source link

tnadmin.admin.gvederationorg: GvUserPortalOperator search field fails with invalid icontains #33

Open rhoerbe opened 5 years ago

rhoerbe commented 5 years ago

GvUserPortalOperator is a proxy class. any search like http://localhost:8000/admin/tnadmin/gvuserportaloperator/?q=L9

will fail with:

Request Method: GET

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

rhoerbe commented 5 years ago

work-around: remove search in admin