Templates

This commit is contained in:
2019-11-05 15:08:44 +01:00
parent 95d6b4adee
commit b7aadda74c
29 changed files with 80 additions and 4363 deletions
@@ -8,7 +8,7 @@ class PostgresSimpleLookup(Lookup):
def as_sql(self, qn, connection):
lhs, lhs_params = self.process_lhs(qn, connection)
rhs, rhs_params = self.process_rhs(qn, connection)
params = lhs_params + rhs_params
params = tuple(lhs_params) + tuple(rhs_params)
return '%s %s %s' % (lhs, self.operator, rhs), params