Opened 6 years ago

Closed 6 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


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 6 years ago by Aymeric Augustin

Resolution: invalid
Status: newclosed

__day is a lookup, and you cannot chain lookups.

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