Supply parameters to "manage.py syncdb" from a script?

6 views
Skip to first unread message

Dan Dong

unread,
Mar 20, 2015, 6:12:21 PM3/20/15
to django...@googlegroups.com
Hi, All,
  Does anybody know how to supply input parameters to "python manage.py syncdb" from a script? E.g. in a bash/python script, to set the following parameters:

Would you like to create one now? (yes/no): yes
Username (leave blank to use 'root'):
Email address: x...@xxx.xxx
Password: xxxxxxxxx
Password (again): xxxxxxxxx


Cheers,
Dan

Reply all
Reply to author
Forward
0 new messages