Django generic view - pagination

2011-09-03 Thread Petey
Pagination templatetags do not fully work for my generic view and I dont quite understand why. http://pastebin.com/kyS0UciG Only : {{ paginator.num_pages }} and {{ paginator.page_range }} works. I noticed that in these methods are a bit different from for example: {{page}} - when you import pa

Re: Generic View Pagination

2007-08-14 Thread MikeHowarth
I'd read that as well Collin and obviously totally forgotten about. I'll give that a whirl! On Aug 13, 11:54 pm, Collin Grady <[EMAIL PROTECTED]> wrote: > As the documentation for object_list says, it will append _list to > template_object_name, so you should actually be checking > "products_lis

Re: Generic View Pagination

2007-08-13 Thread Collin Grady
As the documentation for object_list says, it will append _list to template_object_name, so you should actually be checking "products_list" based on your line there :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Generic View Pagination

2007-08-13 Thread MikeHowarth
>From reading the documentation on generic views, I don't seem to be making much head way. Basically I'm looking to create a paginated page displaying all products within a specific category. Within my urls.py I call the category view within my app: (r'^category/(?P\d+)/$', 'eshop.shop.views.cat