<div dir="auto"><div>Afair you just need to specify a static directory variable STATIC_URL (which is usually present by default) in settings.py and access the files (img, css, js) in your templates using relative path ("{% static "my_app/style.css" %}").</div><div dir="auto"><br></div><div dir="auto">Heroku shouldn't affect it in any manner.</div><div dir="auto"><div dir="auto"><br></div><div dir="auto">I'll emphasize to read the same link Mojca suggested: <a href="https://docs.djangoproject.com/en/2.0/howto/static-files/">https://docs.djangoproject.com/en/2.0/howto/static-files/</a>, at least first few steps definitely.</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Wed, May 9, 2018, 12:36 Mojca Miklavec <<a href="mailto:notifications@github.com" target="_blank" rel="noreferrer">notifications@github.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Don't use third-party sites for hosting <code>css</code>. The files should be inside this repository and django should be configured properly to find them. I don't believe that this does not work.</p>
<p style="font-size:small;color:#666">—<br>You are receiving this because you are subscribed to this thread.<br>Reply to this email directly, <a href="https://github.com/macports/macports-webapp/commit/bd08ef0e8c44fc68f65c5bfa91458794601ec7bc#commitcomment-28909533" rel="noreferrer noreferrer" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AItWGOH6AwpESXmezuDTZQKKpYwGUVhzks5twpVdgaJpZM4T30GX" rel="noreferrer noreferrer" target="_blank">mute the thread</a>.<img src="https://github.com/notifications/beacon/AItWGEu-CNYbisZT7dSpXYN_7x14TDXaks5twpVdgaJpZM4T30GX.gif" height="1" width="1" alt=""></p>
<div>
<div>
</div>
</div>
</blockquote></div></div></div>