Django template: static files in app directory
<p>In Django <strong>settings.py</strong> file we have</p>

<pre><code>STATIC_URL = '/static/'
</code></pre>

<p>And in each app directory I have static folder for css, js files.</p>

<p>For example:</p>

<pre><code>├── myapp
│   ├── migrations
│   ├── __pycache__
│   ├── static
│   └── templates
</code></pre>

<p>When I use <code>{% static "......." %}</code> in *.html file</p>

<p>For example</p>

<pre><code>  &lt;link rel="stylesheet" href="{% static "style/fesahat.css" %}" /&gt;
  &lt;link rel="stylesheet" href="{% static "style/loginStyle.css" %}" /&gt;
</code></pre>

<p>In output render django creates URL like this:</p>

<pre><code>mysite.com/static/style/fesahat.css
mysite.com/static/style/loginStyle.css
</code></pre>

<p>I want to create the URL like this:</p>

<pre><code>mysite.com/myapp/templates/static/style/fesahat.css
mysite.com/myapp/templates/static/style/loginStyle.css
</code></pre>