wimglenn / djangorestframework-queryfields

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

Options are read from settings #16

Closed stevanmilic closed 10 months ago

stevanmilic commented 6 years ago

It would be a nice feature, if we could define include_arg_name, exclude_arg_name and delimiter in settings.py.

I'm gonna write PR if I find the time.

wimglenn commented 6 years ago

Good suggestion, and should be easy to implement. PRs welcome!

seaworn commented 10 months ago

Added in PR #33

wimglenn commented 10 months ago

This is released in v1.1.0.

I've added the test coverage and tweaked the option names to make it a bit more obvious, new doc at https://djangorestframework-queryfields.readthedocs.io/en/latest/faq.html