CSS does not load from static folder in Django with HTTP status code 200
<p>I know this has been asked hundreds of times over the years <a href="https://stackoverflow.com/questions/15081893/unable-to-serve-static-files-like-css-js-in-django-python">here</a>, <a href="https://stackoverflow.com/questions/25913849/django-static-file-not-loading">here</a>, <a href="https://stackoverflow.com/questions/13103138/receiving-404-error-when-trying-to-load-static-urls-directly-in-django">here</a> (and others) but I can't load my css files from my static folder. </p>

<ul>
<li>Django 1.7 </li>
<li>Python 2.7</li>
</ul>

<p>My command line says </p>

<pre><code>[07/Apr/2016 10:56:13] "GET / HTTP/1.1" 200 3596
[07/Apr/2016 10:56:13] "GET /static/compile/css/fbparse.min.6d40ca4cc832.css HTTP/1.1" 200 64
[07/Apr/2016 10:56:13] "GET /static/compile/js/fbparse.min.b40ef3f82f3a.js HTTP/1.1" 200 64
</code></pre>

<p>However, my log file says </p>

<pre><code>2016-04-07 10:45:14,333 [WARNING] django.request: Not Found: /static/compile/css/fbparse.min.6d40ca4cc832.css
2016-04-07 10:56:13,848 [WARNING] django.request: Not Found: /static/compile/css/fbparse.min.6d40ca4cc832.css
2016-04-07 10:56:13,852 [WARNING] django.request: Not Found: /static/compile/js/fbparse.min.b40ef3f82f3a.js
</code></pre>

<p>And of course, the site does not load the css file. </p>

<p>When I try </p>

<pre><code>http://127.0.0.1:8000/static/compile/css/fbparse.min.6d40ca4cc832.css
</code></pre>

<p>It gives me <strong>error 404</strong></p>

<p>Here is what I have in settings file</p>

<pre><code>import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
rel = lambda *x: os.path.join(BASE_DIR, *x)

DEBUG = False

MEDIA_ROOT = rel('public', 'media')
MEDIA_URL = '/media/'
STATIC_ROOT = rel('public', 'static')
STATIC_URL = '/static/'


STATICFILES_DIRS = (
    rel('static_src'),
)

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

.....
)
</code></pre>

<p>Here is what I have in the Base html</p>

<pre><code>&lt;!DOCTYPE html&gt;
{% load pipeline static i18n stats_tags %}
&lt;html&gt;
&lt;head&gt;
    &lt;meta charset=utf-8 /&gt;

    &lt;title&gt;My site title&lt;/title&gt;

    {% stylesheet 'global' %}

    &lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --&gt;
    &lt;!-- WARNING: Respond.js doesn't work if you view the page via file:// --&gt;
    &lt;!--[if lt IE 9]&gt;
      &lt;script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"&gt;&lt;/script&gt;
      &lt;script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"&gt;&lt;/script&gt;
    &lt;![endif]--&gt;
    {% javascript 'global' %}
    {% if debug %}
        &lt;script src="{% static "components/less.js/dist/less.min.js" %}"&gt;&lt;/script&gt;
        {% if LESS_DEBUG %}
            &lt;script type="text/javascript"&gt;
                less.env = "development";
                less.watch();
            &lt;/script&gt;
        {% endif %}
    {% endif %}

&lt;/head&gt;
</code></pre>

<p>I have tried putting the static folder in the root directory, inside public, inside static_src but nothing seems to work. </p>

<p>Can anyone tell me what I am doing wrong?</p>