mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
[docs] custom script examples, [build] move CMS make to app via event_handlers.on_build
This commit is contained in:
@@ -64,6 +64,9 @@ def check_if_expired():
|
||||
webnotes.response['message'] = 'Account Expired'
|
||||
raise webnotes.AuthenticationError
|
||||
|
||||
def on_build():
|
||||
from website.helpers.make_web_include_files import make
|
||||
make()
|
||||
|
||||
def comment_added(doc):
|
||||
"""add comment to feed"""
|
||||
|
||||
Reference in New Issue
Block a user