django template: Is extended template able to change css in parent page?

后端 未结 3 942
鱼传尺愫
鱼传尺愫 2021-02-04 18:51

I have two django template pages, one of them is \"base.html\", with basic html tags setup as a base template. Now I have a page \"child.html\" that extends it, with something l

3条回答
  •  自闭症患者
    2021-02-04 19:10

    if you see the new css loaded in the firebug or other browser debugger, please try:

    body {
    background-color: #000000 !important;
    /* some other css here */
    

    }

提交回复
热议问题