In a form, I have a field defined as ModelChoiceField class myForm(forms.Form) myfield = forms.ModelChoiceField(MyClass.objects.all()) myfield2 = forms.CharField()
My problem is that I cant seem to dynamically set the value that the user selected for this field. When ever, user edits the record, this select list always gets set to no value instead of the value that the user had originally selected. the input text field has no problems in showing the saved data correctly. am I missing something ? thnx, -p --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---