What for syncdb?

After creating django project,

$python manage.py syncdb

needs to be executed.

The syncdb command

1. creates the necessary database tables,

2. creates permission objects for all installed apps that need them,

3. prompts you to create a superuser account the first time you run it.

Leave a Comment