Closed mmichealjroberts closed 4 years ago
What do you mean it doesn't work? When you hit the endpoint it shouldn't do anything by default given the above. Could you be more specific. Also, what have you tried?
@evenicoulddoit So how to we use it then? I've followed the example and replicated the steps as closely as possible, no errors thrown, it just lists the Domain models, minus the two fields I have tried to work with the expandable_fields
value in the Serialzier...
Hi @michealjroberts - I'm going to close this for now and point you towards the examples in the README. The full documentation may also help. If you have a specific issue, please let me know.
I've followed all of the reproducable steps in the documentation, and my fields are now excluded:
And now in the listing API viewset:
When hitting the endpoint, it lists, minus the expandable fields.
What am I doing wrong? What can I do to help improve the documentation?