Django include tag isn't working -
i'm trying make page in seperate parts - , 1 of them goes top menu, far, however, can't figure out how include top menu template in rest of pages. {% include "top_menu.html" %} reason doesn't work, have update views or smthn take effect?
thanks in advance!
i had same issue , have seen quite few other similar posts. in case issue caused outer template having {% load staticfiles %} needed included file.
the fix repeat {% load staticfiles %} inside included file. problem made difficult django not giving error message when failed load include file, there weren't clues.
Comments
Post a Comment