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
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
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
>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
4 matches
Mail list logo