Changes between Initial Version and Version 1 of Ticket #35454, comment 1


Ignore:
Timestamp:
May 14, 2024, 10:39:05 AM (7 months ago)
Author:
hfroot

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35454, comment 1

    initial v1  
    55https://docs.djangoproject.com/en/5.0/ref/models/fields/#null
    66
    7 Maybe the docs for `blank` and the mention of setting `default=list` in the `ArrayField` docs could be updated?
     7Maybe the docs for `blank` and the mention of setting `default=list` in the `ArrayField` docs could be updated? Given that there is a use case for not wanting a nullable array field, but wanting an empty array for later uses such as assuming you can treat the value stored in the field as an iterator without extra code :
     8
     9`MyRelatedObject.objects.filter(my_field__in=my_object.my_array_field)`
Back to Top