KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I try to get a list of distinct foreign keys and I wrote this: my_ids = Entity.objects.values('foreign_key').distinct() But I get just a list of UNDISTINCT foreign keys... What am I missing? Thanks!
Tags (comma-separated)
Save Edits
Cancel