git://git.onelab.eu
/
myslice.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
simplelist to reach $.subscribe as defined in tophat-core.js
[myslice.git]
/
plugins
/
raw.py
1
from engine.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