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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -