Skip to main content

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)

Uploaded Source

Built Distribution

manage_fields-0.0.3-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page