On 10/30/07, Gigs_ <[EMAIL PROTECTED]> wrote: > > error: > IntegrityError at /accounts/register/ > accounts_playersprofile.first_name may not be NULL > Request Method: POST > Request URL: http://localhost:8000/accounts/register/ > Exception Type: IntegrityError > Exception Value: accounts_playersprofile.first_name may not be NULL > Exception Location: C:\Python25\lib\site-packages\django\db\backends > \sqlite3\base.py in execute, line 93 > <snip> > > class PlayersProfile(models.Model): > user = models.ForeignKey(User, unique=True) > activation_key = models.CharField(maxlength=40) > key_expires = models.DateTimeField()
Your model doesn't include a field called first_name, which makes me think that it used to, and you've since removed it. When you do that, you need to manually remove that column from the database; Django can't do it for you. -Gul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---