summaryrefslogtreecommitdiff
path: root/django/db/models/sql/constants.py
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2012-12-17 17:09:07 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2012-12-30 11:19:19 +0200
commit4511aeb6b8b843ee913fb43a37c9686980210948 (patch)
tree7eba85d2c6ba493feebaf97ea7047c1ad461ac7b /django/db/models/sql/constants.py
parent9ef3cab40b1806d99172e94954976413f860a476 (diff)
Moved join path generation to Field
Refs #19385
Diffstat (limited to 'django/db/models/sql/constants.py')
-rw-r--r--django/db/models/sql/constants.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/django/db/models/sql/constants.py b/django/db/models/sql/constants.py
index 9f82f426ed..1764db7fcc 100644
--- a/django/db/models/sql/constants.py
+++ b/django/db/models/sql/constants.py
@@ -26,12 +26,6 @@ JoinInfo = namedtuple('JoinInfo',
'table_name rhs_alias join_type lhs_alias '
'lhs_join_col rhs_join_col nullable join_field')
-# PathInfo is used when converting lookups (fk__somecol). The contents
-# describe the join in Model terms (model Options and Fields for both
-# sides of the join. The rel_field is the field we are joining along.
-PathInfo = namedtuple('PathInfo',
- 'from_field to_field from_opts to_opts join_field')
-
# Pairs of column clauses to select, and (possibly None) field for the clause.
SelectInfo = namedtuple('SelectInfo', 'col field')