Samir, thanks for response. I used default template... I inherited my base.html template from oscar base.html.(I checked that content section does not exists in this template - only layout). I rewrited some things - only scripts/styles/cdn_scripts( if rewrite cdn_scripts admin did not work - is really fun moment...i think all parts of admin must be in local storage.. because we will have many conflicts if we will use other jquery version of lib...) And then i created custom layout (only clean default layout.html/layout_2.html)...Tree was the same as original template... I did not save old version.. so i try to manully..
in layout.html
{% block content_wrapper %}{%content %}empty{%endblock%}{%endblock%}
in layout2_html {% block content_wrapper %}{%content %}content{%endblock%}{%endblock%}
and in browse.html we also change content section...also i tried to use block.super but it did not work when content had name "content"....I thought maybe ajax rewrite this part of template to empty...
tree
oscar-base.html
base.html
layout.html
layout2_col.html
browse.html
четверг, 11 января 2018 г., 6:22:04 UTC+3 пользователь Samir Shah написал: