Hi PythonistL, I wonder if you can do the following:
histories = historys... ids = [history.id for history in histories] histories = historys.get_list(id__in=ids, date__year=1066) It's a while since I did any .91 ;) John. On 8/8/06, PythonistL <[EMAIL PROTECTED]> wrote: > > > To explain: > Let's suppose we have a command > > HistoryList=historys.get_list(id__exact='2',order_by=['-PostedDate']) > > that command extracts a few records and from them I would like to use > for further processing all without the first or last record. > How can I do that in Django version 0.91? > Thank you for help > L. > > > > > -- [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---