title: Django: Static Image won't load
body: <p>I have been following the official documentation to the letter, trying some of the advice for related questions on here, and just searching the web in general and I am still having no luck getting one little image to load. </p>
  
  <p>I have an image called 'logo.png' and my project hierarchy looks like this:</p>
  
  <pre><code>project/
     mysite/
        app/
           __init__.py
           admin.py
           models.py
           urls.py
           view.py
        mysite/
           __init__.py
           settings.py
           urls.py
           views.py
           wsgi.py
        static/
           logo.png
        templates/
           index.html
           calling_image.html
  </code></pre>
  
  <p>Inside <code>settings.py</code> I have <code>STATIC_URL = '/static/'</code></p>
  
  <p>Inside <code>calling_image.html</code> I have <code>&lt;img src="/static/logo.png"&gt;</code></p>
  
  <p>My template <code>calling_image.html</code> is called by <code>project/mysite/app/views.py</code> which is of course then called on by <code>project/mysite/app/urls.py</code> and I even tried including the following two lines (as I saw suggested a few times) at the end of my <code>urls.py</code>:</p>
  
  <pre><code>from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  urlpatterns += staticfiles_urlpatterns()
  </code></pre>
  
  <p>Nothing works, so what have I done wrong?</p>
  
  <p><strong>Edit</strong>: Sorry I made a type, I have <code>STATIC_URL = '/static/'</code> with the closing slash in my <code>settings.py</code> and for clarification, I am running this on my dev build with <code>python manage.py runserver</code></p>
  
  <p><strong>Solved</strong>: So I ended up solving this myself. I created a directory <code>resources</code> within <code>project/mysite/</code> and placed <code>logo.png</code> in there. I then set <code>STATICFILES_DIRS = (os.path.join(BASE_DIR, "resources"),)</code> and ran <code>collecstatic</code> and everything worked! Didn't need to use <code>urlpatterns += staticfiles_urlpatterns()</code> and whatnot.</p>