wimglenn / djangorestframework-queryfields

Allows clients to control which fields will be sent in the API response
http://djangorestframework-queryfields.readthedocs.io/
MIT License
215 stars 16 forks source link

Default fields and required fields #26

Open Edison-A-N opened 4 years ago

Edison-A-N commented 4 years ago

We could use default_fileds_name set to define the default return fields and use required_fields_name set to define the fields should be return whether they were include in the fields of query_params. Is it right? I would like to give a PR if we all agree with that.

joshorr commented 2 years ago

@Edison-A-N Do you happen to have something like this written and up somewhere, sounds like I feature I could use :)