Re: Static files not rendering in project

2018-07-10 Thread useracct222
Thank you for your response. It seems I needed: from django.contrib.staticfiles.templatetags.staticfiles import static and then from view.py, call static("image.png") and pass this to the context. Not sure why exactly this works, so if you care to elaborate, I'm all for learning. Thanks. On

Static files not rendering in project

2018-07-06 Thread useracct222
For whatever reason, after many hours of troubleshooting, I cannot seem to insert a local static file into a template or raw html with "img src". An image via a web url renders fine. Here are the relevant details: Ownership of files is of the main user. Images are in the user's home folder and