mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
Except for dataflow (where we have a lot of changes, and I don't want to introduce lots of merge conflicts right now).
21 lines
391 B
Python
21 lines
391 B
Python
from bottle import Bottle, route, request, redirect, response, SimpleTemplate
|
|
from bottle import template as temp
|
|
|
|
|
|
app = Bottle()
|
|
|
|
|
|
@route('/other')
|
|
def a():
|
|
template = request.query.template
|
|
tpl = SimpleTemplate(template)
|
|
tpl.render(name='World')
|
|
return tmp
|
|
|
|
|
|
@route('/other2')
|
|
def b():
|
|
template = request.query.template
|
|
temp(template, name='World')
|
|
return tmp
|