django no longer supports the --noinput option. this will probably have a negative...
authorerickson <erickson@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Wed, 26 Nov 2008 21:31:12 +0000 (21:31 +0000)
committererickson <erickson@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Wed, 26 Nov 2008 21:31:12 +0000 (21:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/constrictor/trunk@54 6d9bc8c9-1ec2-4278-b937-99fde70a366f

deploy.py

index d638bfc..e147614 100755 (executable)
--- a/deploy.py
+++ b/deploy.py
@@ -46,7 +46,7 @@ def buildDjangoDB():
     if os.path.exists(settings.DATABASE_NAME):
         os.remove(settings.DATABASE_NAME)
 
-    if os.system('python manage.py --noinput syncdb') != 0:
+    if os.system('python manage.py syncdb') != 0:
         # tell django to build the base tables
         sys.stderr.write('Error syncing database...')
         sys.exit(1)