Opened 2 years ago

Closed 2 years ago

#19521 closed Bug (invalid)

Querying <field_name>__day__gte (or any other comparison) not allowed

Reported by: batment@… Owned by: nobody
Component: Database layer (models, ORM) Version: 1.4
Severity: Normal Keywords: queryset
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Filter on field_namedaygte returns "FieldError: Join on field 'field_name' not permitted. Did you misspell 'day' for the lookup type?"

Change History (1)

comment:1 Changed 2 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

__day is a lookup, and you cannot chain lookups.

Note: See TracTickets for help on using tickets.
Back to Top