mirror of
https://github.com/github/codeql.git
synced 2026-01-04 10:10:20 +01:00
23 lines
360 B
Python
23 lines
360 B
Python
from bottle import Bottle, route, request, redirect, response, SimpleTemplate
|
|
import chevron
|
|
|
|
|
|
app = Bottle()
|
|
|
|
|
|
@route('/other')
|
|
def a():
|
|
return chevron.render("sink", {"key": "value"})
|
|
|
|
|
|
@route('/other2')
|
|
def b():
|
|
sink = {
|
|
'template': "template",
|
|
|
|
'data': {
|
|
'key': 'value'
|
|
}
|
|
}
|
|
return chevron.render(**sink)
|