django templates - using block.super in included template fails (exception)

前端 未结 2 851
深忆病人
深忆病人 2021-01-08 01:04

the idea is to to have multiple widgets on a page and include all js and css files needed form this \'widgets\' (it\'s easy to manage files this way). Duplicated files is no

2条回答
  •  清歌不尽
    2021-01-08 01:25

    I know it a bit too late but I may have some solution. Using django-sekizai you can load js and css into one place. Take a look at http://django-sekizai.readthedocs.org/en/latest/

提交回复
热议问题