Michal Salaban wrote:
> Anyway, seems that any query with field=None just doesn't make any
> sense and, if used by anyone, is meant to do the same as
> field__isnull=False. Wouldn't it be a good idea to convert such
> queries to field__isnull=False equivalent in Model class? Correct me
> if I'm wr
Hi all,
I ran into troubles yesterday with a piece of code which had to find
duplicate entries in the database:
duplicates = Foo.objects.exclude(id=self.id).filter(bar=self.bar)
which of course works as expected UNLESS called in freshly created
instance, where self.id is None.
Few seconds l