Unknown command: 'syncdb' - BOOKC -->

Unknown command: 'syncdb'

Tuesday, October 18, 2016

Whenever I execute this command on terminal "python manage.py syncdb" why I got this error:




Solution:

You may notice that when you run this command "python manage.py help" in terminal there is no option for "syncdb" as shown in screen shot.


Because "syncdb" command is deprecated in django 1.7. Use python manage.py migrate for that purpose.