[build] move latest update to app via event_handlers.on_build
This commit is contained in:
parent
d50d924ee5
commit
430b4a77b4
@ -68,6 +68,9 @@ def on_build():
|
|||||||
from website.helpers.make_web_include_files import make
|
from website.helpers.make_web_include_files import make
|
||||||
make()
|
make()
|
||||||
|
|
||||||
|
from home.page.latest_updates import latest_updates
|
||||||
|
latest_updates.make()
|
||||||
|
|
||||||
def comment_added(doc):
|
def comment_added(doc):
|
||||||
"""add comment to feed"""
|
"""add comment to feed"""
|
||||||
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by,
|
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by,
|
||||||
|
Loading…
Reference in New Issue
Block a user