title: How can I perform Django's `syncdb --noinput` with call_command?
body: <pre><code>&gt;&gt;&gt; from django.core.management import call_command
  &gt;&gt;&gt; call_command('syncdb')
  </code></pre>
  
  <p>executes the syncdb management command from within a python script. However, I want to run the equivalent of </p>
  
  <pre><code>$ python manage.py syncdb --noinput
  </code></pre>
  
  <p>from within a python shell or script. How can I do that?</p>
  
  <p>The following lines don't work without interrupting me with the question whether I want to create a super user.</p>
  
  <pre><code>&gt;&gt;&gt; call_command('syncdb', noinput = True) # asks for input
  &gt;&gt;&gt; call_command('syncdb', 'noinput') # raises an exception
  </code></pre>
  
  <p>I use Django 1.3.</p>