sentier-dev / dds_registration

Django app for event registration and billing
MIT License
0 stars 1 forks source link

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

Closed sentry-io[bot] closed 3 months ago

sentry-io[bot] commented 4 months ago

Sentry Issue: EVENTS-G

FieldError: Unsupported lookup 'icontains' for ForeignKey or join on the field not permitted.
(22 additional frame(s) were not displayed)
...
  File "django/db/models/sql/query.py", line 1472, in build_filter
    return self._add_q(
  File "django/db/models/sql/query.py", line 1645, in _add_q
    child_clause, needed_inner = self.build_filter(
  File "django/db/models/sql/query.py", line 1559, in build_filter
    condition = self.build_lookup(lookups, col, value)
  File "django/db/models/sql/query.py", line 1383, in build_lookup
    lhs = self.try_transform(lhs, lookup_name)
  File "django/db/models/sql/query.py", line 1427, in try_transform
    raise FieldError(