I\'m using the AutocompleteSelect widget for a ForeignKey field. To do this, you override the ModelForm class like so:
AutocompleteSelect
ModelForm
class XForm(forms