On Mon, Sep 26, 2011 at 11:59 PM, Tom Evans <tevans...@googlemail.com> wrote:
> On Mon, Sep 26, 2011 at 4:26 PM, David G. Pullman
> <david.pull...@gmail.com> wrote:
>> Thanks very much for helping to separate the processing.  I'm trying to 
>> implement a setup using your suggestions.  I've hit a snag on a detail:
>>
>>> class SearchForm(forms.Form):
>>>    organization = forms.ModelField(Organization)
>>>    search_term = forms.CharField(max_length=100)
>>
>> What's a ModelField?  I was unable to find it in a search on 
>> docs.djangoproject.com.  I found it referred to in an abstract way on a 
>> google search, but not as an actual attribute name.
>>
>
> 100% certain that was just a brain fade on Russell's part, it should
> be forms.ModelChoiceField
>
> https://docs.djangoproject.com/en/1.3/ref/forms/fields/#modelchoicefield

Gah - yes, you've correctly diagnosed my degenerative brain disorder... :-)

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to