introducing model 3.0, refactored import module

This commit is contained in:
Rushabh Mehta
2012-11-23 17:53:43 +05:30
parent a44b66e47a
commit 78d4b49e62
105 changed files with 137 additions and 145 deletions

View File

@@ -1,5 +1,5 @@
from __future__ import unicode_literals
def execute():
import webnotes
from webnotes.model.doclist import DocList
DocList("Website Settings", "Website Settings").save()
from webnotes.model.wrapper import ModelWrapper
ModelWrapper("Website Settings", "Website Settings").save()