Remove unused "hooks"
This isn't used, drop it.
This commit is contained in:
parent
bb573ebee4
commit
f8a9416600
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
||||||
import markdown
|
|
||||||
|
|
||||||
import pinax.boxes.hooks
|
|
||||||
import pinax.pages.hooks
|
|
||||||
|
|
||||||
|
|
||||||
def markup_renderer(content):
|
|
||||||
return markdown.markdown(content)
|
|
||||||
|
|
||||||
|
|
||||||
class PinaxBoxesHookSet(pinax.boxes.hooks.DefaultHookSet):
|
|
||||||
|
|
||||||
def parse_content(self, content):
|
|
||||||
return markup_renderer(content)
|
|
||||||
|
|
||||||
|
|
||||||
class PinaxPagesHookSet(pinax.pages.hooks.DefaultHookSet):
|
|
||||||
|
|
||||||
def parse_content(self, content):
|
|
||||||
return markup_renderer(content)
|
|
Loading…
Reference in a new issue