Django Template Inheritance -- Missing Images?
Posted
by user367817
on Stack Overflow
See other posts from Stack Overflow
or by user367817
Published on 2010-06-17T07:37:15Z
Indexed on
2010/06/17
7:43 UTC
Read the original article
Hit count: 237
Howdy,
I have got the following file heirarchy:
project
other stuff
templates
images
images for site
app1
templates for app1
registration
login template
base.html (base for entire site)
style.css (for base.html)
In the login template, I am extending 'base.html.' 'base.html' uses 'style.css' along with all of the images in the 'templates/images' directory. For some reason, none of the CSS styles or images will show up in the login template, even though I'm extending it.
Does this missing image issue have something to do with screwed up "media" settings somewhere? I never understood those, but this is a major roadblock in my proof-of-concept, so any help is appreciated.
Thanks!
© Stack Overflow or respective owner