modern #2
1 changed files with 4 additions and 4 deletions
|
|
@ -1,14 +1,14 @@
|
||||||
from paramecio.citoplasma.mtemplates import env_theme, PTemplate
|
from paramecio.citoplasma.mtemplates import env_theme, PTemplate
|
||||||
from paramecio.citoplasma.urls import make_url
|
from paramecio.citoplasma.urls import make_url
|
||||||
from bottle import route, request
|
from bottle import request
|
||||||
from settings import config
|
from settings import config
|
||||||
|
from paramecio.wsgiapp import app
|
||||||
|
|
||||||
env=env_theme(__file__)
|
env=env_theme(__file__)
|
||||||
|
|
||||||
@route('/example')
|
|
||||||
def home():
|
|
||||||
|
|
||||||
t=PTemplate(env)
|
t=PTemplate(env)
|
||||||
|
|
||||||
|
@app.route('/example')
|
||||||
|
def home():
|
||||||
|
|
||||||
return "Hello World!!"
|
return "Hello World!!"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue