Saturday, April 23, 2016

Unknown command: 'syncdb' in Python | Django


If you try to use python manage.py syncdb in latest version of Django, it throws the following error.

Unknown command: 'syncdb'
Type 'manage.py help' for usage.

You won't find any syncdb command in help too. This is because syncdb command is deprecated in Django 1.7.

Use  python manage.py migrate instead.




If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

No comments:
Write comments