view display_issues_demo.py @ 5:367237472c20

Shipping a demo.db that has some entries for direct testing.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 01 Dec 2015 09:01:16 +0100
parents 99c68ebfb3b9
children 99e2e0e17103
line wrap: on
line source
#!/usr/bin/env python3

""" Fetch issues from a roundup-tracker and save them in a databse.

author: Sascha L. Teichmann <sascha.teichmann@intevation.de>
author: Bernhard Reiter <bernhard@intevation.de>
author: Sean Engelhardt <sean.engelhardt@intevation.de>

(c) 2010,2015 by Intevation GmbH

This is Free Software unter the terms of the
GNU GENERAL PUBLIC LICENSE Version 3 or later.
See http://www.gnu.org/licenses/gpl-3.0.txt for details
"""

from display_issues import *

cgitb.enable() # (optional) HTML traceback to browser
print("Content-Type: text/html")
print()
render_db_stats_as_html(rcd.DATABASE_DEMO, rcd.SELECT_ALL)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)