[Django]-Django South is not creating a table for user_profiles

6πŸ‘

βœ…

I had this exact same problem. Turns out that there is a circular dependency of sorts when using South. To get around this problem, don’t create a superuser when you run syncdb, but instead run:

python manage.py createsuperuser

after you have created the database with syncdb. At this point, your profile table will have been created, and the post_save signal will succeed.

πŸ‘€elynnaie

0πŸ‘

Try to migrate the table without –fake option. Fake is usefull if you have changes applied in database but there are not in south_migrationhistory table.

πŸ‘€szaman

0πŸ‘

The following should work for some people:

python manage.py schemamigration myapp --initial
python manage.py migrate myapp
πŸ‘€Druska

Leave a comment