Adrian Holovaty wrote: > On 6/1/06, gabor <[EMAIL PROTECTED]> wrote: >> any chance of this patch getting applied? >> http://code.djangoproject.com/ticket/1857 >> >> it fixes the problem (bug?) that get_next_by_FIELD and >> get_previous_by_FIELD don't take params. > > Hmmm, I'm not sure they should take parameters, as it doesn't fit well > with the magic-removal style...What do people think? >
thanks for dealing with this ticket... some comments: 1. if they should not, then the documentation will have to be corrected (http://tinyurl.com/rh97z) 2. what magic-removal style alternative can be used? for example,let's say i have a model with a pub_date, and a color field. now i have an instance of this model, and i need the next (by pub_date) yellow instance. how can i query for that one? gabor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~----------~----~----~----~------~----~------~--~---