>>> TemplateQuery('SELECT * FROM {table@Q} WHERE {@I} {@S} {value@L}').format(
... 'column_name', '>=', table='public.my_table', value=100
... ).as_string(conn)
'SELECT * FROM "public"."my_table" WHERE "column_name" >= 100'
The character after the at sign @ in the placeholder key is the transformation that is applied to the argument before inserting it into the placeholder (S for raw SQL, I for Identifiers and L for literals, among others). * Horizontally align news item titles
* New Items take up full margined-page width
* Search input at the top of the page
* All facts button has a pointer cursor
* Increase button text size
Thanks for your input!