You can use the --noinput
argument to disable those prompts for the syncdb
command.
--noinput
Use the
--noinput
option to suppress all user prompting, such as “Are you sure?” confirmation messages. This is useful ifdjango-admin.py
is being executed as an unattended, automated script.