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

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

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

mysql - Pass value between different pages (form) with PHP -