Comments (3)
@flc thank you for the report. DRF-bulk. 0.2.1 has the fix. please let me know if you will have any more issues
from django-rest-framework-bulk.
thanks for the quick fix!
from django-rest-framework-bulk.
@miki725 Can you help me understand the fix please? How is raising a validation error a fix for this issue?
HowGood@fa1e9fa
As a followup - can I do a bulk create or update using django-rest-framework-bulk? The code seems to suggest that they need to be done independently - only creates happen with the BulkCreateModelMixin
and only updates happen with the BulkUpdateModelMixin
. Is this correct - is there no way to have both new objects and updates happen via the same view/serializer?
from django-rest-framework-bulk.
Related Issues (20)
- POST on Browsable API fails because of get_initial
- Default allow_bulk_destroy implementation does the opposite of its documentation HOT 1
- UUIDs are not handled HOT 4
- README bug
- AttributeError: 'QuerySet' object has no attribute 'pk' when doing bulk update HOT 15
- how to validate the list when I create (怎么在创建的时候校验整个提交过来的list数据) HOT 2
- AttributeError: type object 'ContactsViewSet' has no attribute 'get_extra_actions' HOT 5
- Project status HOT 7
- permission_classes in ListBulkCreateUpdateAPIView HOT 1
- URL syntax for Bulk modifications HOT 1
- POST 400 (Bad Request) HOT 1
- is it possible to override put?
- Archive the project as it's dead HOT 4
- This contex generaly doesn't exist
- Field Unique fails when trying to bulk update
- if self.instance causes queryset to be evaluated
- Not displayed on the web page
- import BulkSerializerMixin err
- Adding BulkUpdateMixin will cause duplicate queries
- BulkListSerializer.update获取obj_id,当数据库中的类型为int时,会导致后续的get取不到obj_validated_data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-rest-framework-bulk.