Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldError: Unsupported lookup 'icontains' for ForeignKey or join on the field not permitted. #1148

Open
sentry-io bot opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1149
Open

FieldError: Unsupported lookup 'icontains' for ForeignKey or join on the field not permitted. #1148

sentry-io bot opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1149
Assignees
Labels
bug noget der ikke virker efter hensigten

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 2, 2025

Kan genskabes ved at søge på et eller andet i søgefeltet i Admin > Ventelister

Sentry Issue: BACKEND-MEDLEMSSYSTEM-3TD

FieldError: Unsupported lookup 'icontains' for ForeignKey or join on the field not permitted.
(20 additional frame(s) were not displayed)
...
  File "django/db/models/sql/query.py", line 1405, in build_filter
    return self._add_q(
  File "django/db/models/sql/query.py", line 1577, in _add_q
    child_clause, needed_inner = self.build_filter(
  File "django/db/models/sql/query.py", line 1492, in build_filter
    condition = self.build_lookup(lookups, col, value)
  File "django/db/models/sql/query.py", line 1313, in build_lookup
    lhs = self.try_transform(lhs, lookup_name)
  File "django/db/models/sql/query.py", line 1357, in try_transform
    raise FieldError(
@sentry-io sentry-io bot added the bug noget der ikke virker efter hensigten label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug noget der ikke virker efter hensigten
Projects
None yet
1 participant