mirror of
https://github.com/github/codeql.git
synced 2026-02-09 03:31:06 +01:00
18 lines
307 B
Python
18 lines
307 B
Python
from bottle import Bottle, route, request, redirect, response, SimpleTemplate
|
|
from bottle import template as temp
|
|
|
|
|
|
app = Bottle()
|
|
|
|
|
|
@route('/other')
|
|
def a():
|
|
template = "test"
|
|
tpl = SimpleTemplate(template)
|
|
|
|
|
|
@route('/other2')
|
|
def b():
|
|
template = "test"
|
|
return temp(template, name='World')
|