aykut / django-bulk-update

Bulk update using one query over Django ORM
MIT License
431 stars 60 forks source link

Support for Geometry Fields #11

Open aykut opened 9 years ago

aykut commented 9 years ago

Would be great to support GeoDjango Model Fields too.

aboutaaron commented 8 years ago

I'd love to have this feature. If you point me in the right direction, I'll try and create a PR

aykut commented 8 years ago

Hi, I'm so sorry for this such delayed response. I've just forgot this, I hope you still want to have this feature.

I would go with official GeoDjango documentation first and debug bulk_update with some geo fields included. You probably need to get a close look at _get_db_type and get_db_prep_value.

https://docs.djangoproject.com/en/1.8/ref/contrib/gis/model-api/

Thanks.

tunarob commented 8 years ago

Hi, any progress with that?

yuanxu-li commented 7 years ago

Any update on this? In desparate need of such a feature :)

aykut commented 7 years ago

This issue is fixed with Django 1.11, I am not sure how. I may dig into it later.

Just fyi.