2012-05-08 10:36:44 +00:00
|
|
|
import webnotes
|
|
|
|
|
|
|
|
def execute():
|
2012-05-09 08:40:49 +00:00
|
|
|
from webnotes.model.code import get_obj
|
|
|
|
|
|
|
|
# rewrite pages
|
2012-05-09 10:07:54 +00:00
|
|
|
get_obj('Website Settings').rewrite_pages()
|
|
|
|
|
|
|
|
ss = get_obj('Style Settings')
|
|
|
|
ss.validate()
|
2012-05-22 11:51:24 +00:00
|
|
|
ss.doc.save()
|
2012-05-09 10:07:54 +00:00
|
|
|
ss.on_update()
|