python - DJango 1.8 use completely different CSS on child template -


i want in django templates. using materialize css framework side bar has menu on it, has links views showing django forms, , menu "base.html", so, parent template. have problem, don't want use materialize css forms classes on child templates, want use different, because application materialize seems confusing users.

i have tried this: django templates: use different css pages

and let me changes css, want absolutely remove parent template css , use particular css in child templates (forms). or use css affects parent template, not affecting child templates.

edit: read comments solution. answered wrote @ beginning, think question wasn't complete. looking solution similar asp.net master pages, master page has own css , not affected webform css (child template), independent. in django if override parent template css on child template, parent affected. menu looks nasty haha. have hint override css classes need.

dont extend child template parent base template. dont include statement in child templates:

{% extends "<base-file-name>.html" %} 

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -