git://git.onelab.eu
/
myslice.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
01f59e9f18af191d583da018343cae35347d7589
[myslice.git]
/
plugins
/
raw
/
raw.py
1
from unfold.plugin import Plugin
2
3
# usage Raw (html="some html text")
4
5
class Raw (Plugin):
6
7
def __init__ (self, html, **kwds):
8
Plugin.__init__ (self, **kwds)
9
self.html=html
10
11
def render_content (self, request):
12
return self.html