What's the point of Django's collectstatic?
<p>In Django, the convention is to put all of your static files (i.e css, js) specific to your app into a folder called <strong>static</strong>. So the structure would look like this:</p>
<pre><code>mysite/
    manage.py
    mysite/ --&gt; (settings.py, etc)
    myapp/ --&gt; (models.py, views.py, etc)
        static/
</code></pre>
<p>In <code>mysite/settings.py</code> I have:</p>
<pre><code>STATIC_ROOT = 'staticfiles'
</code></pre>
<p>So when I run the command:</p>
<pre><code>python manage.py collectstatic   
</code></pre>
<p>It creates a folder called <code>staticfiles</code> at the root level (so same directory as <code>myapp/</code>)</p>
<p>What's the point of this? Isn't it just creating a copy of all my static files?</p>