We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For string values for attributes, for example on a GenericAPIView, it uses:
GenericAPIView
lookup_field = pk
(see https://www.cdrf.co/3.7/rest_framework.generics/GenericAPIView.html )
It thus fails to perform a repr over the item and thus displays it as a variable. We can use repr to show this as:
repr
lookup_field = 'pk'
instead.
The text was updated successfully, but these errors were encountered:
use repr for attribute values, fixing vintasoftware#50
3038c1d
Merge pull request #51 from hapytex/issues/issue-50
9e8171b
use repr for attribute values, fixing #50
No branches or pull requests
For string values for attributes, for example on a
GenericAPIView
, it uses:(see https://www.cdrf.co/3.7/rest_framework.generics/GenericAPIView.html )
It thus fails to perform a
repr
over the item and thus displays it as a variable. We can userepr
to show this as:instead.
The text was updated successfully, but these errors were encountered: