Re: Content using {% include %} not appearing on detailed page Django

2014-12-17 Thread Daniel Roseman
On Tuesday, 16 December 2014 19:27:41 UTC, Andrew Nguyen wrote: > > I'm having some problems getting some of my content to appear on my > detailed page view, which I have in two separate html files that are being > pulled in using {% include %}. Inside my two files, slider.htmland > sidebar.html

Re: Content using {% include %} not appearing on detailed page Django

2014-12-16 Thread Fred Stluka
Andrew, I'm not sure, but since no one else has answered yet... Maybe you can't pass an object as a keyword argument to include, can only pass strings? I've done it often with strings, but never with an object. Try: {% include "sidebar.html" title=object.title %} and in the included file

Content using {% include %} not appearing on detailed page Django

2014-12-16 Thread Andrew Nguyen
I'm having some problems getting some of my content to appear on my detailed page view, which I have in two separate html files that are being pulled in using {% include %}. Inside my two files, slider.htmland sidebar.html, I'm using tags like {{article.title}} to grab specific information I