开发者

problem with django templating system

I'm having a problem with the django templating system.

I have a template with html, css, and js. When I use this template for my site, all of its margins and paddings change, and my template seems to become another template. For example margin 0 auto; seems to become margin 0 0;.

Note: I have a temp.html file and, for example, in the index of my home app, I have a file index.html that contains a {% extends "temp.html" %} tag and other block that they are in temp.html. (ed: ?)

If you need more 开发者_JAVA百科code, please let me know.


You will need to make use of Django's built-in media hooks and relative URLs:

Django media URLs in CSS files

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜