Manage fields by request params
Project description
Manage fields
settings.py
INSTALLED_APPS = [
...,
'manage_fields'
]
views.py
from manage_fields.mixins import MFViewMixin
class MyView(MFViewMixin, ...):
serializer_class = MySerializer
....
serializers.py
from manage_fields.mixins import MFSerializer
class MySerializer(MFSerializer, ...):
...
Request
https://abcd.com/?allow_fields={id,name}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
manage-fields-0.0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for manage_fields-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8f80e5507fe2f3aa45a6b20ab20d5a6e3c893d50e77a312bb2aaa46da3d5f9f |
|
MD5 | 585e4071697c61d0d944b3eb7894ff69 |
|
BLAKE2b-256 | a8f92632335e1ece9a965fb291e2dfc964426faa66f99571075ef56a10b9a68b |