On 5-7-2012 19:06, DF wrote: > django.db.utils.DatabaseError: relation "report_userprofile" does not exist > LINE 1: INSERT INTO "report_userprofile" ("user_id", "first_name", "... >
[ ... ] > This is the database model: > > class UserProfile(models.Model): > > user = models.OneToOneField(User, unique=True, related_name="profile") > > first_name = models.CharField(max_length=25) > > last_name = models.CharField(max_length=35) > > email = models.EmailField() Are you sure this model works? You use a one to one relationship but duplicate the fields of the parent. Try running with an empty database on your development machine and then run syncdb. -- Melvyn Sopacua -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.