[minor] fixed globals and patch for wsgi migration

This commit is contained in:
Anand Doshi
2013-10-10 12:03:11 +05:30
parent ddca90ef7b
commit 7798934989
5 changed files with 40 additions and 13 deletions

View File

@@ -6,8 +6,8 @@ import webnotes, os
import utilities.demo.make_demo
def make_demo_app(site=None):
webnotes.flags.mute_emails = 1
webnotes.init(site=site)
webnotes.flags.mute_emails = 1
utilities.demo.make_demo.make(reset=True, simulate=False)
# setup demo user etc so that the site it up faster, while the data loads