diff --git a/paramecio/examples/index.py b/paramecio/examples/index.py index 0237aa8..925668b 100644 --- a/paramecio/examples/index.py +++ b/paramecio/examples/index.py @@ -1,14 +1,14 @@ from paramecio.citoplasma.mtemplates import env_theme, PTemplate from paramecio.citoplasma.urls import make_url -from bottle import route, request +from bottle import request from settings import config +from paramecio.wsgiapp import app env=env_theme(__file__) +t=PTemplate(env) -@route('/example') +@app.route('/example') def home(): - - t=PTemplate(env) return "Hello World!!"