django-rest-framework-bulk
django-rest-framework-bulk copied to clipboard
Django REST Framework bulk CRUD view mixins
Using models with a UUIDField as a primary key fails on bulk updates. This happens because, the validated_data dictionary value for the id will be a string, while the internal...
a maintainer of the drf-extensions here
[DESCRIPTION] When making a PUT request to a `BulkModelViewSet`, using a simple DRF `ModelSerializer` with all fields automatically generated - no field specified by hand -and with `list_serializer_class` attribute being...
The update method of a bulkSerializer is not working if the id is not of type string/unicode for example a bson.objectid.ObjectId mine solution was to force the unicode type in...
Maybe it's not a feature in DRF-bulk but rather some code around that lib user writes. Just thinking about it, what do you think ?
related to #30 this simply adds some test cases but does not actually fix anything since the bug itself is in DRF
from rest_framework_bulk import BulkSerializerMixin, BulkListSerializer ImportError: cannot import name 'BulkSerializerMixin' from 'rest_framework_bulk'
in django debug tool you can see if you use BulkUpdateMixin when you make a get request, the select_related and prefech related are not treated properly
**models.py** ``` import uuid from django.db import models from django.contrib.auth.models import User from django.utils import timezone class ToDoCategory(models.Model): """Model representing a category for ToDos (e.g. Work, Personal).""" id = models.BigAutoField(primary_key=True)...