1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.

This commit is contained in:
Tom Forbes
2018-09-18 21:14:44 +01:00
committed by Tim Graham
parent 7b159df942
commit 9cbdb44014
11 changed files with 359 additions and 8 deletions

View File

@@ -718,3 +718,8 @@ class RelatedIndividual(models.Model):
class Meta:
db_table = 'RelatedIndividual'
class CustomDbColumn(models.Model):
custom_column = models.IntegerField(db_column='custom_name', null=True)
ip_address = models.GenericIPAddressField(null=True)