django customize form field with option code example
Example: django ModelChoiceField value not id
articles = ModelChoiceField(queryset=Articles.objects.all(),
to_field_name='slug')
articles = ModelChoiceField(queryset=Articles.objects.all(),
to_field_name='slug')