This question already has an answer here:
Django is “unable to open database file”
To create the database with Django, you have to write your models, put applications in the
settings.INSTALLED_APPS and then:
python manage.py syncdb
The sqlall command prints the CREATE TABLE and initial-data SQL statements for the given app name(s).