阅读背景:

如何在开发中为Django提供CSS?

来源:互联网 

I've been all through the documentation, and it just doesn't make sense to me. I ran collectstatic, I set up /static/ directories in both my app and my project directories, I added STATIC_URL and STATIC_ROOT to my settings.py file (but I have no idea how to know if they're set correctly) and {{ STATIC_URL }} still isn't rendering out to anything. It all seems like a heck of a lot of overkill just to connect html to css. I've been all through the documentation, and it




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: