Hey,

I was just wondering if someone could help me out. I want to paginate
some views, but they are not generic. This is one of the views I want
to paginate:

def category_list(request):
        categories = Category.objects.order_by('name')

        return shortcuts.render_to_response("blog/category_list.html",
dict(categories = categories))

How would I go about paginating that?

Thanks so much in advance,
Oliver


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to