I have this form
class FromToForm(Form):
ModelChoiceField(queryset=TblWorkPlace.objects.all().distinct('work_place_name'))
Django writes this error message:
DISTINCT ON fields is not supported by this database backend
Is there some workaround?