Re: _get_next_or_previous_ usage

2008-09-22 Thread Rafael Beccar Barca
On Sun, Sep 21, 2008 at 9:46 PM, Rafael Beccar Barca <[EMAIL PROTECTED]> wrote: > On Sun, Sep 21, 2008 at 9:23 PM, Malcolm Tredinnick > <[EMAIL PROTECTED]> wrote: >> >> >> On Sun, 2008-09-21 at 17:36 -0300, Rafael Beccar Barca wrote: >>> Hi, >>> >>> I didn't find documentation for _get_next_or_pre

Re: _get_next_or_previous_ usage

2008-09-21 Thread Rafael Beccar Barca
On Sun, Sep 21, 2008 at 9:23 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On Sun, 2008-09-21 at 17:36 -0300, Rafael Beccar Barca wrote: >> Hi, >> >> I didn't find documentation for _get_next_or_previous_by_FIELD and >> _get_next_or_previous_in_order > > The fact that they start with und

Re: _get_next_or_previous_ usage

2008-09-21 Thread Malcolm Tredinnick
On Sun, 2008-09-21 at 17:36 -0300, Rafael Beccar Barca wrote: > Hi, > > I didn't find documentation for _get_next_or_previous_by_FIELD and > _get_next_or_previous_in_order The fact that they start with underscores and aren't documented in the Model API is a big that they are internal methods, n

Re: _get_next_or_previous_ usage

2008-09-21 Thread Rodolfo
You can find the definition of those methods at: /django/django/db/models/base.py:def _get_next_or_previous_by_FIELD(self, field, is_next, **kwargs): /django/django/db/models/base.py:def _get_next_or_previous_in_order(self, is_next): So, check on your django installation to see what the

_get_next_or_previous_ usage

2008-09-21 Thread Rafael Beccar Barca
Hi, I didn't find documentation for _get_next_or_previous_by_FIELD and _get_next_or_previous_in_order What parameters should I pass when calling them from shell ? How should I use them on my templates ? Gracias, Rafael --~--~-~--~~~---~--~~ You received this me