static files not detected Django 1.10
<p><strong>Problem</strong>: javascript and css files doesn't load.<br>
I am using Django 1.10, my
<code>settings.py</code> file looks like this:</p>

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

STATICFILES_DIRS = [
    os.path.join(BASE_DIR, "static")
]

STATIC_ROOT = os.path.join(BASE_DIR, "static_root")
</code></pre>

<p>I have my static files in the <code>static folder</code> and also have a static root, still the <code>js</code>, <code>css</code> not working<br>Why?</p>

<p>If you're using <em>runserver</em> in Debug mode, you don't need to modify your URLs.</p>

<p>Your settings look fine provided that your directory structure looks like:</p>

<pre><code>- myProject
  - myProject
    - settings.py
  - static
  - ...
</code></pre>

<p>Have you remembered to add <code>{ load staticfiles }</code> at the top of your templates?</p>

<p>In that case, <code>{% url 'css/whatever.css' }</code> should work.</p>

python django