Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> --- 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 0ddcefe..38bcabe 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): """ -- 1.7.5.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html