+class JQueryAutoCompleteSearchField(forms.CharField):
+ def __init__(self, options={}, *args, **kwargs):
+ if 'widget' not in kwargs:
+ kwargs['widget'] = JQueryAutoCompleteSearchWidget(options)
+
+ super(JQueryAutoCompleteSearchField, self).__init__(*args, **kwargs)
+
+