Re: Advanced search issues

2007-10-09 Thread Ben Ford
A good start would be to put that sql in get_min_rent into a queryset... I it's queryset.select(). I'm not sure if you'll then be able to order_by('min_rent') though... Ben On 10/10/2007, Dan <[EMAIL PROTECTED]> wrote: > > > Hi > > I am trying to make an advanced search page where a user can l

Advanced search issues

2007-10-09 Thread Dan
Hi I am trying to make an advanced search page where a user can list guest-houses based on several different criteria. As there can be many rooms in a house each with different availability and rent prices i am having problems constructing a filter for this. Models: class Property(models.Model)

Advanced search issues

2007-10-09 Thread Dan
Hi I am trying to make an advanced search page where a user can list guest-houses based on several different criteria. As there can be many rooms in a house each with different availability and rent prices i am having problems constructing a filter for this. Models: class Property(models.Model)