├── .gitignore ├── .travis.yml ├── CHANGES.rst ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── requirements-dev.txt ├── requirements.txt ├── rest_framework_serializer_mixins ├── __init__.py └── mixins.py ├── setup.py └── testproject ├── manage.py ├── pytest.ini ├── rest_framework_serializer_mixins ├── testapp ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── serializers.py └── views.py ├── testproject ├── __init__.py ├── settings.py ├── urls.py └── wsgi.py └── tests ├── __init__.py ├── conftest.py └── test_mixins.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/README.rst -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | djangorestframework>=3.5.4 2 | -------------------------------------------------------------------------------- /rest_framework_serializer_mixins/__init__.py: -------------------------------------------------------------------------------- 1 | from .mixins import DynamicFieldsMixin # noqa 2 | -------------------------------------------------------------------------------- /rest_framework_serializer_mixins/mixins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/rest_framework_serializer_mixins/mixins.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/setup.py -------------------------------------------------------------------------------- /testproject/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/manage.py -------------------------------------------------------------------------------- /testproject/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/pytest.ini -------------------------------------------------------------------------------- /testproject/rest_framework_serializer_mixins: -------------------------------------------------------------------------------- 1 | ../rest_framework_serializer_mixins/ -------------------------------------------------------------------------------- /testproject/testapp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testproject/testapp/admin.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testproject/testapp/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/testapp/apps.py -------------------------------------------------------------------------------- /testproject/testapp/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/testapp/migrations/0001_initial.py -------------------------------------------------------------------------------- /testproject/testapp/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testproject/testapp/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/testapp/models.py -------------------------------------------------------------------------------- /testproject/testapp/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/testapp/serializers.py -------------------------------------------------------------------------------- /testproject/testapp/views.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testproject/testproject/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testproject/testproject/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/testproject/settings.py -------------------------------------------------------------------------------- /testproject/testproject/urls.py: -------------------------------------------------------------------------------- 1 | urlpatterns = [] 2 | -------------------------------------------------------------------------------- /testproject/testproject/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/testproject/wsgi.py -------------------------------------------------------------------------------- /testproject/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testproject/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/tests/conftest.py -------------------------------------------------------------------------------- /testproject/tests/test_mixins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allisson/django-rest-framework-serializer-mixins/HEAD/testproject/tests/test_mixins.py --------------------------------------------------------------------------------