Fixes related website hierarchy

This commit is contained in:
Anand Doshi
2014-02-06 12:50:14 +05:30
parent 4b41e420c0
commit 3decf4dbc5
3 changed files with 12 additions and 5 deletions

View File

@@ -6,8 +6,7 @@ import webnotes
@webnotes.whitelist(allow_guest=True)
def send_message(subject="Website Query", message="", sender="", status="Open"):
from webnotes.website.doctype.contact_us_settings.templates.pages.contact \
import send_message as website_send_message
from webnotes.templates.pages.contact import send_message as website_send_message
if not website_send_message(subject, message, sender):
return