Create indexes with expression using UniqueConstraint

2021-07-01 Thread Wladimir Guerra
Hello, First of all, you've being doing a great work here. Django is an amazing framework! I have been woking in a new project and I need to do a multiple columns unique validation in which some of them is nullable. So I've use a UniqueConstraint like: class Item(Model): name = models.Char

Re: Create indexes with expression using UniqueConstraint

2021-07-01 Thread Wladimir Guerra
Hi Thanks for the reply. I’ve accidentally pushed the send button before finish the message. 🤦🏻‍♂️ Regards, Wladimir > Em 1 de jul. de 2021, à(s) 10:25, Hannes Ljungberg > escreveu: > > Hi! > > Support for using expressions on UniqueConstraints will be available in > Django 4.0: > https://