Django static files (css) not working
<p>I can't seem to include my bootstrap css files for some reason. I am quite new to Python and Django especially, so I am definitely doing something wrong. </p>

<ul>
<li><strong>Django 1.9.2</strong></li>
</ul>

<p>After reading the <a href="https://docs.djangoproject.com/en/1.9/howto/static-files/" rel="nofollow">official Django explanation</a> on the "Static files" management I am absolutely zero smarter :(. Here is my project folders hierarchy:</p>

<pre><code>/projectname/
    /appname/
        /static/
        |   /appname/
        |        /css/
        |        |    bootstrap.min.css
        |        |    custom.css
        |        /img/
        |        /js/
        |
        /templates/
            /includes/
                head.html
                footer.html
            index.html
            base.html
</code></pre>

<p>I started with the basics so I disregarded the <code>head.html</code>and tried with the <code>base.html</code> like so:</p>

<pre><code>&lt;title&gt;{% block title %}{% endblock %}&lt;/title&gt;

&lt;!-- Bootstrap core CSS --&gt;
{% load staticfiles %}
&lt;link href="{% static 'static/appname/css/bootstrap.min.css' %}" rel="stylesheet"&gt;
</code></pre>

<p>No luck. Here is my settings file:</p>

<pre><code>INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
]
...

STATIC_URL = '/static/'
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
STATICFILE_DIRS ='/users/edchigliak/documents/projects/projectname/appname/static/'
</code></pre>

<p>As fas as I understand, it is possible to have a "global" 'static files location' which all your projects can use, and "per app" 'static files location' which can be uses only by the app inside which base directory they reside.</p>

<p>Any help appreciated!</p>

<p><strong>EDIT:</strong> </p>

<p>This is my <code>urls.py</code> configuration:</p>

<pre><code>from django.conf.urls import url
from django.contrib import admin
from budgeteer.views import hello, hours_ahead, current_datetime

urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^hello/$', hello),
url(r'^index/$', current_datetime),
url(r'^time/plus/(\d{1,2})/$', hours_ahead),
]
</code></pre>