Skip to content

Commit

Permalink
Allow import from init
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanofusai committed Jul 26, 2024
1 parent 75c73d0 commit be5fd8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

...

Expand Down
3 changes: 3 additions & 0 deletions src/drf_multi_serializers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .mixins import MultiSerializerMixin

__all__ = ["MultiSerializerMixin"]

0 comments on commit be5fd8b

Please sign in to comment.