Mercurial > roundup-cc
comparison display_issues_demo.py @ 7:99e2e0e17103
Adding possibility and example to filter the entries.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 01 Dec 2015 09:02:35 +0100 |
parents | 99c68ebfb3b9 |
children | 149d01f43e31 |
comparison
equal
deleted
inserted
replaced
6:a1e71b5e4d68 | 7:99e2e0e17103 |
---|---|
16 from display_issues import * | 16 from display_issues import * |
17 | 17 |
18 cgitb.enable() # (optional) HTML traceback to browser | 18 cgitb.enable() # (optional) HTML traceback to browser |
19 print("Content-Type: text/html") | 19 print("Content-Type: text/html") |
20 print() | 20 print() |
21 render_db_stats_as_html(rcd.DATABASE_DEMO, rcd.SELECT_ALL) | 21 #render_db_stats_as_html(rcd.DATABASE_DEMO, rcd.SELECT_ALL) |
22 render_db_stats_as_html(rcd.DATABASE_DEMO, | |
23 rcd.SELECT_WHERE.format("timestamp > date('now', '-2 month')")) |