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
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
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
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
4 matches
Mail list logo