datamade / django-councilmatic

:heartpulse: Django app providing core functions for *.councilmatic.org
http://councilmatic.org
MIT License
26 stars 16 forks source link

FieldError: Cannot resolve keyword 'last_action_date' into field. Choices are: abstracts, actions, bill, bill... #256

Closed sentry-io[bot] closed 3 years ago

sentry-io[bot] commented 4 years ago

Sentry Issue: CHICAGO-COUNCILMATIC-33

FieldError: Cannot resolve keyword 'last_action_date' into field. Choices are: abstracts, actions, bill, bill_id, classification, committee_subscriptions, created_at, documents, eventrelatedentity, extras, from_organization, from_organization_id, id, identifier, legislative_session, legislative_session_id, locked_fields, other_identifiers, other_titles, related_bills, related_bills_reverse, restrict_view, slug, sources, sponsorships, subject, subscriptions, title, updated_at, versions, votes
(11 additional frame(s) were not displayed)
...
  File "django/db/models/sql/compiler.py", line 318, in get_order_by
    field, self.query.get_meta(), default_order=asc))
  File "django/db/models/sql/compiler.py", line 665, in find_ordering_name
    field, targets, alias, joins, path, opts = self._setup_joins(pieces, opts, alias)
  File "django/db/models/sql/compiler.py", line 698, in _setup_joins
    pieces, opts, alias)
  File "django/db/models/sql/query.py", line 1448, in setup_joins
    names, opts, allow_many, fail_on_missing=True)
  File "django/db/models/sql/query.py", line 1379, in names_to_path
    "Choices are: %s" % (name, ", ".join(available)))

FieldError: Cannot resolve keyword 'last_action_date' into field. Choices are: abstracts, actions, bill, bill_id, classification, committee_subscriptions, created_at, documents, eventrelatedentity, extras, from_organization, from_organization_id, id, identifier, legislative_session, legislative_session_id, locked_fields, other_identifiers, other_titles, related_bills, related_bills_reverse, restrict_view, slug, sources, sponsorships, subject, subscriptions, title, updated_at, versions, votes