Worked like a charm. In case anyone's wondering:
def blog_index(request, blog_slug):
qs = Entry.objects.filter(blog__slug__exact=blog_slug)
blog_name = Blog.objects.get(slug=blog_slug).title
extra = {'blog_name': blog_name}
return archive_index(request, qs, 'date',
Ah, that makes sense. I'll give that a shot. Thanks again!
-Justin
On Jul 17, 12:49 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> You are making the assumption that the queryset will be recreated anew
> each time and that this will only happen after the blog_slug value has
> been
On Wed, 2008-07-16 at 22:31 -0700, Justin Myers wrote:
> Hey there. I'm starting a term as web development editor at my student
> newspaper in the fall, and we recently (February) launched a new site
> created in Django. My background's definitely more in design than in
> development per se, so
Hey there. I'm starting a term as web development editor at my student
newspaper in the fall, and we recently (February) launched a new site
created in Django. My background's definitely more in design than in
development per se, so I'm trying to get up to speed with Django by
putting together a
4 matches
Mail list logo