Re: Converting to Postgres database; error with UserProfile model

2012-07-05 Thread Melvyn Sopacua
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

Re: Converting to Postgres database; error with UserProfile model

2012-07-05 Thread DF
This happened when I ran sync.db. All the other tables were created. I'm using South but I ran sync.db first to create the initial tables. When I ran South, the 'profiles' app still didn't appear. There's also a signals.py file with the following: def create_profile(sender, instance, signal, cr

Re: Converting to Postgres database; error with UserProfile model

2012-07-05 Thread m1chael
syncdb is doing nothing for you? On Thu, Jul 5, 2012 at 1:06 PM, DF wrote: > I have a problem that I hope someone with insight can aid with. My first > Django project is near completion and I’m currently transitioning to a > Postgres database in anticipation of deploying via Heroku. The process w

Converting to Postgres database; error with UserProfile model

2012-07-05 Thread DF
I have a problem that I hope someone with insight can aid with. My first Django project is near completion and I’m currently transitioning to a Postgres database in anticipation of deploying via Heroku. The process was going fairly smoothly until this occurred when I ran python manage.py syncdb