title: How to execute a Python script from the Django shell?
body: <p>I need to execute a Python script from the Django shell. I tried:</p>
  
  <pre><code>./manage.py shell &lt;&lt; my_script.py
  </code></pre>
  
  <p>But it didn't work. It was just waiting for me to write something.</p>