Changes between Initial Version and Version 1 of Ticket #35454, comment 1
- Timestamp:
- May 14, 2024, 10:39:05 AM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35454, comment 1
initial v1 5 5 https://docs.djangoproject.com/en/5.0/ref/models/fields/#null 6 6 7 Maybe the docs for `blank` and the mention of setting `default=list` in the `ArrayField` docs could be updated? 7 Maybe 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)`