Just FYI and for anyone else who comes across this thread - I had the same problem, trying to pass a ForeignKey via HiddenInput in an app I'm working on. If you need to/want to do it this way, the trick is that you have to use a ModelChoiceField and not an IntegerField for Django to be able to do it's magic.
e.g. in my case I had something like class CourseAddForm(forms.ModelForm): institution = forms.ModelChoiceField(Institution.objects.all(), widget=forms.HiddenInput()) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---