About INTERSECTION ALL AND EXCEPT ALL

2017-10-04 Thread jz699
Greetings, when I read through the django source code, I see the union and union all method is implemented. However, if I remember it right, in PostgreSQL, intersection and difference are also have the all method (which means the result will contains duplicates). Here is the documentation of th

Re: Prevent DateRangeField overlap in model?

2017-10-04 Thread Ian Foote
Hi Brylie, Laurence, I think it should be possible to do this using my Check Constraints work (https://github.com/django/django/pull/7615) or something built on top of it. I plan to get this work into shape so it can land in Django 2.1. I hope this helps, Ian On 03/10/17 10:40, Laurence Sonnenb