On Mon, Sep 22, 2008 at 10:46 AM, Norman Harman <[EMAIL PROTECTED]>wrote:
> > nek4life wrote: > > How would I go about getting a queryset into an include? Say I have a > > blog and I have a page for the post detail. On the sidebar I would > > like to have the blog categories dynamically built or have recent > > articles, or recent comments, etc... What would be the best approach > > to build these "widgets" for use on multiple pages? Any help would be > > much appreciated. Thanks. > > Custom Template Tags? > > http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#howto-custom-template-tags > > > -- > Norman J. Harman Jr. > Senior Web Specialist, Austin American-Statesman > ___________________________________________________________________________ > Get off the sidelines and huddle up with the Statesman all season long > for complete high school, college and pro coverage in print and online! > > > > I was looking at that and found the inclusions tags and that looks like what I need, however I'm a little unsure about where to put this function. Would I put this in the model I want to pull the data from? I haven't extended the templating system before so I'm a wee bit confused. -- Charles Choiniere --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---