django: how to include a static file in a template?
<p>In a Django project, I would like to include a static file in a template. The following is the the project structure:</p>

<pre><code>proj/
   main/
      static/
         main/
            js/
               main.js
   news/
      templates/
        news/
           news.html
</code></pre>

<p>In <code>news.html</code>, I would like to include the <code>main.js</code> with the following <em>hypothetical</em> format:</p>

<pre><code>{% load staticfiles %}
...

{% include {% static 'main/js/main.js' %} %}
</code></pre>

<p>How do I do it?</p>