Mikuláš Poul

Results 29 comments of Mikuláš Poul
trafficstars

You need to use ``` python manage.py tenant_command shell --schema= ```

Ah, great, I think I'll create a function alias, it's much nicer than the first option. Only question, where do I put it so it's loaded every time I start...

Amazing, thank you for such a quick response :)

It would also be really helpful to document the speed difference. In my experience (updating tens of thousands of lines) this package does the update waaay faster.

I'm on Django 2.2.9. Might be doing something wrong, but can't see what. ``` objects = list(Model.objects.all()[:10000]) Model.objects.bulk_update( objects, [], # about 10 fields batch_size=1000 ) ``` ``` from bulk_update.helper...

@orf Hi, did you manage to to take a look at that? I could provide a more comprehensive example if necessary...

I created an example project. Please excuse the non-imaginative naming of my classes and columns. The column types respect the types of my model in the project where I encountered...

I'm only happy to be of help, to be a tiny part of making Django such a great resource for everybody using it. Thank you for your work and actioning...

My fork now this supports this as of version 0.8.0. See https://github.com/mikicz/django-pgviews and https://pypi.org/project/django-pgviews-redux/.

My fork at https://github.com/mikicz/django-pgviews supports Django 4, https://pypi.org/project/django-pgviews-redux/ at PyPI