> El lunes, 27 de agosto de 2012 08:06:00 UTC-3, Alan Etkin escribió:I'be been testing the wiki for a while and have some random > comments.
Wouldn't be better to separate the Wiki class setup and plugging phases?
For example, set welcome by default with something like:
# model
wiki = Wiki(opt=val)
# controller
@auth.wiki() # optional
def index():
return dict()
# layout.html
{{block wiki}}
{{if "_wiki" in locals():}}
{{=_wiki.content}}
{{pass}}
{{end}}
--

