Commits

Anonymous committed 667d57e

Automated commit message.

Comments (0)

Files changed (1)

 #!python
 from django import forms
 from django.contrib.auth.models import Message
-from autocomplete import AutoCompleteField
+from autocomplete import ModelChoiceField
 
 class InsertMessage(forms.ModelForm):
     class Meta:
         model = Message
 
-    user = AutoCompleteField('user')
+    user = ModelChoiceField('user')
 }}}
 
 You can use AutoCompleteField/Widget even on the admin site.