> def writer_stories(request, writer): > # Look up the writer (and raise a 404 if it can't be found). > written=get_object_or_404(Writer, slug__iexact=writer) > return list_detail.object_list( > request, > queryset=Entry.live.filter(writer=written), > template_name='newssite/writer_archive.html', > template_object_name='stories',
Presumably you've used pdb or simple print statements in your code to verify the results that the queryset is empty? After that, look at your templates (this looks like you are using generic views). -- Andy McKay, @clearwind -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

