django-rest-framework-bulk
django-rest-framework-bulk copied to clipboard
Django REST Framework bulk CRUD view mixins
This line in `BulkSerializerMixin` https://github.com/miki725/django-rest-framework-bulk/blob/2a59d14e7036660f00996b013ab913678b5974c4/rest_framework_bulk/drf3/serializers.py#L19 can raise `AttributeError: 'NoneType' object has no attribute 'request'` if the `is_valid()` method is run without the client. For example during tests when I wanted...
python 3.7.3 django 2.2.3 djangorestframework 3.9.4 djangorestframework-bulk 0.2.1 `class Milestone(models.Model): project = models.ForeignKey(Project, on_delete=models.CASCADE) position = models.IntegerField(default=0) name = models.CharField(max_length=100, default='')` `class MilestoneSerializer(BulkSerializerMixin, serializers.ModelSerializer): class Meta: model = Milestone fields...
Hi, given the project is basically unmaintained (as in https://github.com/miki725/django-rest-framework-bulk/issues/71), couldn't you explicitly archive the project to make it clear to everyone? Or at least writing it in the README...
Im trying to bulk upload data using PUT, but am getting keyError ID, this is expected as I do not have the ID in the JSON data. however there is...
Although the Bulk Actions are present in my project I haven't used them to their full potential yet. I'm beginning my tests with bulk deletes. `Mymodel` inherits from `BulkModelViewSet`. In...
I have a permisson class like this ```python from rest_framework import status, permissions class IsOwnerOrReadOnly(permissions.BasePermission): """ Custom permission to only allow owners of an object to edit it. """ def...
I'm trying to use the new bulk update that uses DRF 3. When I try to bulk update with a model that uses a `unique_together` constraint I get an error:...
I'm trying to wrote test for my application ( I have bulk creation on one api ) but iI'm blocked because the rest_framework api client does not allow me to...
When creating, I have the need to validate the entire collection of items as a whole. For instance, there should be validation to ensure there are exactly three items present....