diff --git a/README.md b/README.md index c23f5c0..1a360b1 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Simply import the `MultiSerializerMixin` and use it in your API views: ```python from rest_framework.generics import ListCreateAPIView from rest_framework.viewsets import ModelViewSet -from drf_multi_serializers.mixins import MultiSerializerMixin +from drf_multi_serializers import MultiSerializerMixin ... diff --git a/src/drf_multi_serializers/__init__.py b/src/drf_multi_serializers/__init__.py index e69de29..822643f 100644 --- a/src/drf_multi_serializers/__init__.py +++ b/src/drf_multi_serializers/__init__.py @@ -0,0 +1,3 @@ +from .mixins import MultiSerializerMixin + +__all__ = ["MultiSerializerMixin"]