Traceback (most recent call last): File "gluon/restricted.py", line 191, in restricted File "gluon/restricted.py", line 178, in compile2 TypeError: compile() expected string without null bytes
:( Just a screenshot please 2011/9/10 Michele Comitini <michele.comit...@gmail.com> > +1 > > Terrific! > > mic > Il giorno 10/set/2011 21:24, "Massimo Di Pierro" <mdipie...@cs.depaul.edu> > ha scritto: > > > Based on desk.js now you can do this > > > > Put the attached slide.py under models (any app). > > > > Write a controller like > > > > def test(): > > content = """ > > # My slides title > > ## Slide One > > this allows you to create slides using markmin > > ## Slide Two > > - you can use lists > > - you can use [[links http://www.google.com]] > > - you can use images [[image http://image.example.com center]] > > """ > > return SLIDE(content,title="My slides") > > > > Notice the resulting file is pure html5 with external links therefore it > can be downloaded as an independent document. > > > > >