I want to execute group by clause on MyUser table having CNT.Status exactly one the raw query would be like below.
SELECT user_id from user_table GROUP BY user_id HAVING COUNT(status)=1
I tried various options using Django model API but its adding "id" too in group by clause.
It seems you are looking for filtering on annotations:
Notice: I supose that status is a 1:N related model.