Opened 12 years ago
Closed 12 years ago
#19521 closed Bug (invalid)
Querying <field_name>__day__gte (or any other comparison) not allowed
Reported by: | 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?"
Note:
See TracTickets
for help on using tickets.
__day
is a lookup, and you cannot chain lookups.