summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-20 23:16:39 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-20 23:16:39 +0200
commit60964880943883de132e248b0deb3aaf8e5e67b5 (patch)
tree7773600894666c5f8db7ec7a32ddf3f2e8b33c8c /module/web
parentsetup improvements, UnRar fix (diff)
downloadpyload-60964880943883de132e248b0deb3aaf8e5e67b5.tar.xz
some win preparation
Diffstat (limited to 'module/web')
-rw-r--r--module/web/createsuperuser.py2
-rw-r--r--module/web/syncdb.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/module/web/createsuperuser.py b/module/web/createsuperuser.py
index 892069f84..0ff1d15b8 100644
--- a/module/web/createsuperuser.py
+++ b/module/web/createsuperuser.py
@@ -6,7 +6,7 @@ import os
import sys
os.environ["DJANGO_SETTINGS_MODULE"] = 'settings'
-
+sys.path.append(os.path.join(pypath, "module", "web"))
import getpass
import re
diff --git a/module/web/syncdb.py b/module/web/syncdb.py
index d7905f2f9..669f22681 100644
--- a/module/web/syncdb.py
+++ b/module/web/syncdb.py
@@ -5,6 +5,7 @@ import os
import sys
os.environ["DJANGO_SETTINGS_MODULE"] = 'settings'
+sys.path.append(os.path.join(pypath, "module", "web"))
from django.conf import settings
from django.core.management.base import NoArgsCommand
@@ -144,8 +145,8 @@ def handle_noargs(**options):
else:
transaction.commit_unless_managed(using=db)
- from django.core.management import call_command
- call_command('loaddata', 'initial_data', verbosity=verbosity, database=db)
+ #from django.core.management import call_command
+ #call_command('loaddata', 'initial_data', verbosity=verbosity, database=db)
if __name__ == "__main__":
handle_noargs() \ No newline at end of file