url field django 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')