id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 28950 ArrayField.has_changed() returns True for unchanged fields tejinderss vinay karanam "I have models Foo and Bar for example: {{{ from django.contrib.postgres.fields import ArrayField class Foo(models.Model): field = models.CharField(max_length=200) class Bar(models.Model): foo = models.OneToOneField(Foo) required_field = models.CharField(blank=False) array_field = ArrayField(models.CharField(max_length=50, blank=true), blank=True, null=True) }}} and in the admin.py i have: {{{ class BarInline(admin.StackedInline): model = Bar @admin.register(Foo) class FooAdmin(admin.ModelAdmin): inlines = [BarInline] }}} Now the issue is on the save form in admin, if i try to create foo instance without providing any bar data in barinline form, i get error that bar's required field is required and if i make all fields optional, it creates the bar instance anyway without any data. I have played with min_num and max_num but in vain." Bug closed contrib.postgres 1.11 Normal fixed Accepted 0 0 0 0 0 0