I have a model that requires browsing previous and next records by a user-supplied integer value. What is the best way to handle this type of requirement? I suppose I could do a query that looked up records with a value less/greater than the current value with a LIMIT 1 clause or something like that. But is there something simpler or built-in?
Thanks in advance for your help. Regards, Syd --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---