Comments (2)
It's as designed. We don't support updating fields which are not materialized in the table that we want to update.
A many-to-many field is not stored in any of the two tables of the relation, but in a third one just created to store this relation.
To update a many-to-many field we should delete and insert rows from this third table.
from django-bulk-update.
OK, thanks for the reply. Any suggestions on how one might do this?
from django-bulk-update.
Related Issues (20)
- bulk_update_or_create(model_instances) or bulk_update(model_instances, upsert=True)? HOT 9
- Use pythonic sequence ducktyping instead of hardcoding to list type
- tests/models.py breaks everything. HOT 1
- bulk_update doesn't work if the pk of the table is an UUID
- BulkUpdateManager' object has no attribute 'normalize_email' HOT 2
- Bulk Update Progress Logs HOT 1
- TypeError if updating ArrayField
- bulk_create
- Unnecessary variable loaded_fields HOT 13
- [Microsoft][ODBC Driver 13 for SQL Server]COUNT field incorrect or syntax error (0) (SQLExecDirectW)')
- Let travis use different databases HOT 1
- Raise error when model with empty pk field is passed HOT 3
- BulkUpdateQuerySet object is not an iterator
- Document that bulk update is available in Django 2.2 HOT 11
- Error "ORA-00942: table or view does not exist" in Oracle DB
- 'Manager' object has no attribute 'bulk_update'
- Invalid utf8mb4 character string
- add suport for JsonField
- Djngo REST API: KeyError at /api/update
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-bulk-update.