[website] [minor] moving to framework

This commit is contained in:
Rushabh Mehta 2013-09-10 15:49:18 +05:30
parent 13bbf6536b
commit f4de333267

View File

@ -3,6 +3,11 @@
import webnotes, conf, os
from webnotes.utils import cint, cstr, encode
def get_website_settings():
return {
"shopping_cart_enabled": cint(webnotes.conn.get_default("shopping_cart_enabled"))
}
@webnotes.whitelist()
def update_profile(fullname, password=None, company_name=None, mobile_no=None, phone=None):