Opened 9 years ago

Last modified 9 years ago

#25064 closed Bug

Allow get_joining_columns to return empty tuple — at Initial Version

Reported by: Alex Hill Owned by: nobody
Component: Database layer (models, ORM) Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

If you override get_joining_columns() to return an empty tuple but provide extra conditions with extra_join_restrictions() , Join.as_sql() creates invalid SQL.

Change History (0)

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