Thanks, i'd just worked that out, was about to come and post it. Thanks though.
On 12 Aug, 20:23, Dj Gilcrease <[email protected]> wrote: > On Wed, Aug 12, 2009 at 12:02 PM, When ideas > > fail<[email protected]> wrote: > > def months_archive(request, year, month): > > blog_posts = Post.objects.all().order_by("-post_date") > > blog_posts = Post.objects.filter(post_date__year=year, > post_date__month=month).order_by("-post_date") --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

