Re: Adding a bulk_save method to models

2018-01-23 Thread Neal Todd
; > and the implementation was refreshingly simple. It still needs docs, a > couple more tests and to fix a strange error with sqlite on Windows, but > overall it seems like a lot of gain for a small amount of code. > > Tom > > > On 22 January 2018 at 15:10:53, Neal Todd

Re: Adding a bulk_save method to models

2018-01-22 Thread Neal Todd
Hi Tom, A built-in bulk save that's more flexible than update would certainly be nice. Just in case you haven't come across it though, there is a package called django-bulk-update: https://github.com/aykut/django-bulk-update I've found it very useful on a number of occassions where update

Re: In-memory queryset

2017-03-08 Thread Neal Todd
Hi Paul, Depending on your use cases django-modelcluster might be of some use: https://github.com/wagtail/django-modelcluster It's primarly for dealing with a bunch of models that have foreign key relationships, but before they're written to a database (i.e before they have primary keys that