From 03eecc372628391815f9b0091a0bd980c146685d Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 15 Aug 2010 14:43:18 +0200 Subject: some fixes, fixed #125 --- module/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/setup.py') diff --git a/module/setup.py b/module/setup.py index ac2bb57c2..95533e698 100644 --- a/module/setup.py +++ b/module/setup.py @@ -270,10 +270,10 @@ class Setup(): print "" - call(["python", join(self.path, "module", "web", "manage.py"), "syncdb", "--noinput"]) + call(["python", join(self.path, "module", "web", "manage.py"), "syncdb", "--noinput", "--settings=module.web.settings"]) print _("If you see no errors, your db should be fine and we're adding an user now.") username = self.ask(_("Username"), "User") - call(['python', join(self.path, "module", "web", "manage.py"), 'createsuperuser', '--email=email@trash-mail.com', '--username=%s' % username, '--noinput']) + call(['python', join(self.path, "module", "web", "manage.py"), 'createsuperuser', '--email=email@trash-mail.com', '--username=%s' % username, '--noinput', "--settings=module.web.settings"]) password = self.ask("", "", password=True) salt = reduce(lambda x, y: x + y, [str(random.randint(0, 9)) for i in range(0, 5)]) -- cgit v1.2.3