I have STATIC_URL = 'FarmNet/static/', and in a template I use <link rel="stylesheet" href={% static "css/bootstrap.css" %} />, however, django returns the same HTML as css
If that makes any sense. It returns the HTML of the page I'm loading as a .css file
well, you need to add that static dir to STATICFILES_DIRS list in settings
autrilla_
And [29/Nov/2014 10:51:32] "GET /FarmNet/static/css/bootstrap.css HTTP/1.1" 404 1671
FunkyBob
otherwise Django won't know to look there... since it's not in an app
autrilla_
FunkyBob, isn't STATIC_URL enough?
Alina-malina joined the channel
FunkyBob
no
STATIC_URL is where it is served... the URL it appears under on the web
autrilla_
Oooh. So I could just leave it as /static/
FunkyBob
has nothing to do with where django looks for hte files
yes
Nizumzen joined the channel
it would be useful if you can show me where in the staticfiles docs you find are unclear
there are plans afoot to revise it heavily
snkcld joined the channel
also, you really shouldn't have committed your vi .swp file :)
autrilla_
FunkyBob, I should add it to gitignore yeah :D
Bugson has left the channel
Knyght
really
please tell me of your insane plans
apollo13
?
Knyght
I used to have problems with every project trying to figure out why staticfiles wasn't working, but I don't really that problem anymore
dfunckt joined the channel
autrilla_
FunkyBob, also, why do you blame GUIs for static files? I thought STATIC_URL was the directory where my static files were. Also I use vim, so no GUIs :P
amizya joined the channel
FunkyBob
autrilla_: I don't blame guis for static files
autrilla_
Errr for paths
FunkyBob
I blame guis for people not being comfortable with relative paths
the_rat joined the channel
Knyght: too many people stumble with staticfiles... so clearly the docs aren't up to snuff
critias joined the channel
kezabelle joined the channel
m8 joined the channel
skylite has quit
Knyght
maybe. the docs there are pretty terse.
msc has quit
nkuttler
does somebody here use ssmtp with django? or knows if it's possible?
it doesn't listen to connections afaik, so the binary would have to be called