title: Combining and Compressing multiple JavaScript files into a single file in a Django project
body: <p>What is the simplest way to combine JavaScript files into a single file in a Django project? </p>
  
  <p><strong>Explanation</strong></p>
  
  <p>I want this to work with Ember.js/Backbone where you (usually) have many different JavaScript in multiple directories. Directories would all be in one folder called app/ for example, like: app/views/ app/models/ /app/routers/</p>
  
  <p><strong>Requirements</strong></p>
  
  <ul>
  <li>Work together with the staticfiles app</li>
  <li>Still be separated while in development mode for easier debugging (only compile when calling collectstatic?)</li>
  <li>Work with Require.js (guess that shouldn't be too hard, but putting it in here to be sure)</li>
  </ul>
  
  <p><strong>Extra credit</strong></p>
  
  <p>Explain a best practices way of combining Django and Ember/Backbone.</p>