Re: error while submitting data in the form django

2011-02-08 Thread Tom Evans
On Tue, Feb 8, 2011 at 3:37 PM, sushanth Reddy wrote: > I am trying to insert data into db it throws below error,can any please fix > this. form.Fields normalize to a python value. That python value must be assignable to the model field you are trying to update. You cannot

error while submitting data in the form django

2011-02-08 Thread sushanth Reddy
I am trying to insert data into db it throws below error,can any please fix this. model.py from django.db import models # Create your models here. class Profile(models.Model): name = models.CharField(max_length=50, primary_key=True) assign = models.CharField(max_length=50) doj