Re: Footer dynamic data

2010-08-06 Thread Kenneth Gonsalves
On Fri, 2010-08-06 at 14:03 -0700, kostia wrote: > I have a footer on my site. It has to be filled in with data which > comes from the database. Each view will have to load this common > footer data. How can I organise such a behaviour in my views.py file? try templatetags -- regards Kenneth Gon

Re: Footer dynamic data

2010-08-06 Thread Steve Holden
On 8/6/2010 5:40 PM, kostia wrote: > Great, it works and is easy to understand. And that is despite an old > article. > Thank you, man. > No problem. I found out about them pretty much the same way you just have :) -- I'm no expert. "ex" == "has-been"; "spurt" == "drip under pressure" "expert" ==

Re: Footer dynamic data

2010-08-06 Thread kostia
Great, it works and is easy to understand. And that is despite an old article. Thank you, man. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, se

Re: Footer dynamic data

2010-08-06 Thread Steve Holden
On 8/6/2010 5:03 PM, kostia wrote: > I have a footer on my site. It has to be filled in with data which > comes from the database. Each view will have to load this common > footer data. How can I organise such a behaviour in my views.py file? > > I guess it is a separate function, but I'm django n

Footer dynamic data

2010-08-06 Thread kostia
I have a footer on my site. It has to be filled in with data which comes from the database. Each view will have to load this common footer data. How can I organise such a behaviour in my views.py file? I guess it is a separate function, but I'm django newbie, so please, keep your pulse. -- You r