Open boxed opened 2 years ago
What error message should be shown?
Maybe something like:
"Got 4, but get/filter takes keyword arguments or Q objects. Maybe you meant pk=4?"
I think the check that should be made is that none of the *args should be non-Q-objects.
The current error in django is:
If you do
User.objects.get('123')
you get: