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: Related Field got invalid lookup: admitted_to #808

Closed
sentry-io bot opened this issue May 31, 2022 · 0 comments · Fixed by #924
Closed

FieldError: Related Field got invalid lookup: admitted_to #808

sentry-io bot opened this issue May 31, 2022 · 0 comments · Fixed by #924
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented May 31, 2022

Sentry Issue: CARE-D0

FieldError: Related Field got invalid lookup: admitted_to
(3 additional frame(s) were not displayed)
...
  File "django/db/models/query.py", line 910, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "django/db/models/sql/query.py", line 1290, in add_q
    clause, _ = self._add_q(q_object, self.used_aliases)
  File "django/db/models/sql/query.py", line 1315, in _add_q
    child_clause, needed_inner = self.build_filter(
  File "django/db/models/sql/query.py", line 1251, in build_filter
    condition = self.build_lookup(lookups, col, value)
  File "django/db/models/sql/query.py", line 1107, in build_lookup
    raise FieldError('Related Field got invalid lookup: {}'.format(lookup_name))
@mathew-alex mathew-alex added this to Care May 31, 2022
@mathew-alex mathew-alex moved this to Triage in Care May 31, 2022
@gigincg gigincg moved this from Triage to Up Next in Care Jun 23, 2022
Repository owner moved this from Up Next to Done in Care Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant