Lookups

2022-09-08 Thread Bhuvnesh Sharma
Can anyone explain me the difference between lookups and related lookups? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Check constraint validation with NULLs

2022-09-08 Thread Carlton Gibson
Hi David. This is https://code.djangoproject.com/ticket/33996 I think — it's a Release Blocker for 4.1.2 Your thoughts/review on work there would be welcome. :) Kind Regards, Carlton On Thu, 8 Sept 2022 at 14:30, David Sanders wrote: > Hi folks, > > I've noticed a difference in the way check

Check constraint validation with NULLs

2022-09-08 Thread David Sanders
Hi folks, I've noticed a difference in the way check constraint validation behaves compared to the way Postgres (assuming similar behaviour in other DBs) validates when dealing with NULLs. Given a model with a simple positive check constraint: class Test(Model): test = IntegerField(null=True