Re: Enclosing intervals with dates on django

2010-11-08 Thread Knut Ivar Nesheim
Your query can be translated into the ORM by simply using '__gt' and '__lt' on your start_date and ends_date. Regards Knut 2010/11/8 Rogério Carrasqueira : > Hello Everybody! > > I'm developing a routine that will control the information about scheduled > events and it will avoid that some events

Enclosing intervals with dates on django

2010-11-08 Thread Rogério Carrasqueira
Hello Everybody! I'm developing a routine that will control the information about scheduled events and it will avoid that some events override others and prevent that it cannot happen. I made a query on mysql where that works fine and gives the results that I need. For example I have an event that