Re: Paging, 0-50, 51-100, 101-132

2009-10-11 Thread The Danny Bos
I kind of worked out a way, it seems highly flimsy but it's working. paging = str(paging) paging = paging.split("-") page_from = paging[0] page_to = paging[1] items = CollectionItem.objects.filter(collection=collection) items_paged = CollectionIte

Re: Paging, 0-50, 51-100, 101-132

2009-10-11 Thread Sam Lai
2009/10/11 The Danny Bos : > > > I had a read of that, is good but seems overly basic for what I'm > trying to achieve. > > Basically a list of links like so on the Template: > > Link: Cards 0-50 > Link: Cards 51-100 > Link: Cards 101-132 > > Know what I mean? > My biggest question being, how can

Re: Paging, 0-50, 51-100, 101-132

2009-10-11 Thread The Danny Bos
I had a read of that, is good but seems overly basic for what I'm trying to achieve. Basically a list of links like so on the Template: Link: Cards 0-50 Link: Cards 51-100 Link: Cards 101-132 Know what I mean? My biggest question being, how can I create that above list with the data I have, ba

Re: Paging, 0-50, 51-100, 101-132

2009-10-11 Thread Daniel Roseman
On Oct 11, 9:22 am, The Danny Bos wrote: > Heya, thanks for all the help of late, I'm about four late nights from > finishing my first big app I'm guessing. > > Anyway, > I'm working on paging in my app and am completely stuck (again), > here's what I'm trying for: >          eg:http://www.domain

Paging, 0-50, 51-100, 101-132

2009-10-11 Thread The Danny Bos
Heya, thanks for all the help of late, I'm about four late nights from finishing my first big app I'm guessing. Anyway, I'm working on paging in my app and am completely stuck (again), here's what I'm trying for: eg: http://www.domainname.com/card/pokemon/0-50/ Which would obviously dis