[Answer]-Django ModelChoiceField: how to parse the initial data to map it to the correct value 20 December 2023 by thecoderscamp.com 1 Ok I actually found it, I had to override the prepare_value(self, value) method of the Field. Michael [Answer]-How can I perform this query? Source:stackexchange.com