python manage.py syncdb does not work!

1

When you try to follow a tutorial

I can not continue because the bank was not created, can you help me?

Error:

Unknown command: 'syncdb'
Type 'manage.py help' for usage.
    
asked by anonymous 02.03.2017 / 01:49

2 answers

1

Actually, the correct command is:

./manage.py migrate --run-syncdb

or

python manage.py migrate --run-syncdb

    
02.03.2017 / 19:16
0

I found the response

The syncdb command has been removed from Django, now use migrate.

python manage.py migrate

I tested it here and it worked !!!

    
02.03.2017 / 03:35