Re: Need help including a queryset in every view

2008-06-27 Thread Brandon Taylor
Holy shiesse, the man himself! Thank you very much for pointing me to that portion of the documentation, I hadn't quite made it there in my Definitive Guide book, but that's exactly what I needed. I ordered the Practical Django projects book the other day, can't wait to get it! Kind regards,

Re: Need help including a queryset in every view

2008-06-27 Thread James Bennett
On Fri, Jun 27, 2008 at 4:27 PM, Brandon Taylor <[EMAIL PROTECTED]> wrote: > What's the best way to go about this? Obviously I don't want to have > to pass the queryset into the context of every action, in every view > across the entire site :) Same way you make anything accessible to lots of

Re: Need help including a queryset in every view

2008-06-27 Thread ristretto.rb
> I have a navigation list powered by a model in my base site template. > So, I need to create a queryset object that will be available to every > view. Middleware comes to mind (see the docs), but I'm new to django, and perhaps that's not the best way. I'd be interested to see what other

Need help including a queryset in every view

2008-06-27 Thread Brandon Taylor
Hello everyone, I have a navigation list powered by a model in my base site template. So, I need to create a queryset object that will be available to every view. What's the best way to go about this? Obviously I don't want to have to pass the queryset into the context of every action, in every