diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2014-03-01 21:21:57 +0200 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-03-07 14:52:13 +0000 |
| commit | 219d928852c256a81d09dbaa29ed4cec42d2fdfa (patch) | |
| tree | 579c7d7fe66591e66c96fb406ba2d25a8ede5a91 /django/db/models/sql/datastructures.py | |
| parent | a0f252520291924f8fb7cb0d85f1680294508560 (diff) | |
Fixed #21863 -- supplemented get_lookup() with get_transform()
Also fixed #22124 -- Expanded explanation of exactly what is going on in
as_sql() methods.
Diffstat (limited to 'django/db/models/sql/datastructures.py')
| -rw-r--r-- | django/db/models/sql/datastructures.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py index 421c3cd860..634edf2477 100644 --- a/django/db/models/sql/datastructures.py +++ b/django/db/models/sql/datastructures.py @@ -24,6 +24,9 @@ class Col(object): def get_lookup(self, name): return self.output_type.get_lookup(name) + def get_transform(self, name): + return self.output_type.get_transform(name) + def prepare(self): return self |
