Correct way to type values_list with related_id #2775
Closed
neostimul
started this conversation in
Common issues and solutions
Replies: 2 comments 3 replies
-
It still is a
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Got it. Thank you for the answer |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, what is the correct way to type values_list with related_id?
for example
user.projects.values_list('author__organisation_id', flat=True)
It shows that it's an
QuerySet[Project, Any]
, but it's not a project's ids, it's an organisation's ids.Beta Was this translation helpful? Give feedback.
All reactions