diff --git a/README.rst b/README.rst index 29b8852..ca5d09d 100644 --- a/README.rst +++ b/README.rst @@ -135,5 +135,5 @@ Credits Current maintainers: -* Miroslav Shubernetskiy - `GitHub `_. - +* Miroslav Shubernetskiy - `GitHub `_ +* Kevin Brown - `GitHub `_ diff --git a/rest_framework_bulk/generics.py b/rest_framework_bulk/generics.py index 416750a..5869a89 100644 --- a/rest_framework_bulk/generics.py +++ b/rest_framework_bulk/generics.py @@ -4,6 +4,11 @@ from . import mixins as bulk_mixins +__all__ = ["BulkCreateAPIView", "BulkUpdateAPIView", "BulkDestroyAPIView", "ListBulkCreateAPIView", + "ListCreateBulkUpdateAPIView", "ListCreateBulkUpdateDestroyAPIView", "ListBulkCreateUpdateAPIView", + "ListBulkCreateUpdateDestroyAPIView"] + + ########################################################## ### Concrete view classes that provide method handlers ### ### by composing the mixin classes with the base view. ### diff --git a/rest_framework_bulk/mixins.py b/rest_framework_bulk/mixins.py index fa47289..6460b1c 100644 --- a/rest_framework_bulk/mixins.py +++ b/rest_framework_bulk/mixins.py @@ -5,6 +5,9 @@ from rest_framework.response import Response +__all__ = ["BulkCreateModelMixin", "BulkUpdateModelMixin", "BulkDestroyModelMixin"] + + class BulkCreateModelMixin(CreateModelMixin): """ Either create a single or many model instances in bulk by using the