coerce_path() in SchemaGenerator will not get correct pk field if get_queryset() method is used on view
#8325
Unanswered
mhamid3d
asked this question in
Potential Issue
Replies: 1 comment 2 replies
-
|
Can you provide a simple-as-possible example that demonstrates the issue? |
Beta Was this translation helpful? Give feedback.
2 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.
-
The
coerce_pathmethod is trying to grab thequerysetattribute from the view. If you are usingget_queryseton the view, it will not satisfy theif modeland then default toid.Beta Was this translation helpful? Give feedback.
All reactions