title: Launching Blender console in Docker container with Django
body: <p>I'm making a web application where the user can render an image with blender. I'm using django as the framework and have it running in a docker environment.</p>
  <p>You can render a image with blender console commands like this:</p>
  <pre><code>blender -b animation.blend -o //render_ -F PNG -x 1 -a
  </code></pre>
  <p>My question is what would be the best practice to launch console commands from Django?</p>
  <p>I know you can add custom commands to the manage.py but not how to launch those.</p>
  <p>and more specifically how do I launch an docker container with arguments that includes the blender console.</p>