Perhaps something from here will help?

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/59883

Where your list is an xrange(min...max) of id's from your database
table. That is, do it in python, not with your database...

Or maybe this, http://www.petefreitag.com/item/466.cfm - which *does*
use the database ;)

Cheers,
Tone


--~--~---------~--~----~------------~-------~--~----~
 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