There's no need to pass 'instance' if you're instantiating your ModelForm with request.POST. You only need to pass the instance if you already have a specific model instance programmatically and want to get a ModelForm for it.
You can replace if request.method=='POST': with if request.POST: Adding a clean function to your ModelForm should take care of all that stripping for you. Something like this: def clean_name(self): name = self.cleaned_data['name'] return name.strip() I hope this helps. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.