diff options
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-06 17:34:13 +0000 |
---|---|---|
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-06 17:34:13 +0000 |
commit | f0bbb3d3ba1a4189ad1cd8f95df4da718f003384 (patch) | |
tree | e2f56cea2393332ffc6211715dfe328d4742f2b5 | |
parent | bceaba7f8c8ebed0ba4e3ba55fb762bceaff3081 (diff) |
frontend.afe.model_logic: Removing get_from_clause() from custom query class
As this method does not belong to the query class under Django 1.3
anymore.
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5405 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r-- | frontend/afe/model_logic.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/frontend/afe/model_logic.py b/frontend/afe/model_logic.py index 0ddcefec..38bcabef 100644 --- a/frontend/afe/model_logic.py +++ b/frontend/afe/model_logic.py @@ -124,21 +124,6 @@ class ExtendedManager(dbmodels.Manager): self._custom_joins.append(join_dict) - def get_from_clause(self): - from_, params = (super(ExtendedManager.CustomQuery, self) - .get_from_clause()) - - for join_dict in self._custom_joins: - from_.append('%s %s AS %s ON (%s)' - % (join_dict['join_type'], - _quote_name(join_dict['table']), - _quote_name(join_dict['alias']), - join_dict['condition'])) - params.extend(join_dict['condition_values']) - - return from_, params - - @classmethod def convert_query(self, query_set): """ |