Re: Autocomplete fields and cleaned_data

2019-05-13 Thread Florian Apolloner
On Monday, May 13, 2019 at 8:25:56 PM UTC+2, Melvyn Sopacua | 3YOURMIND wrote: > > It seemingly removes the field from self.cleaned_data, which means we can > no longer validate it. > If that is the case it is a bug I'd say. -- You received this message because you are subscribed to the Goo

Autocomplete fields and cleaned_data

2019-05-13 Thread Melvyn Sopacua | 3YOURMIND
I'm currently looking at a bug in our application, caused by autocomplete_fields on a ModelAdmin. It seemingly removes the field from self.cleaned_data, which means we can no longer validate it. I can reproduce this by removing/adding the field from/to autocomplete_fields and resubmitting the form