﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12079	queryset.exists() doesn’t work correctly	ramusus	nobody	"I don't understand is it normal?

{{{
    In [17]: User.objects.filter(pk=0)
    Out[17]: []

    In [18]: User.objects.filter(pk=0).exists()
    Out[18]: True
}}}

The exists() should return False result in this case, I think. This is revision 11653 (Development version)

I have related problem with unique validating of inlineformset and I found that the reason is queryset.exists() doesn't work correctly"		closed	Database layer (models, ORM)	dev		fixed		ramusus@…	Ready for checkin	1	0	0	0	0	0
