Tweaked create_database to fix syntax error, removed django settings part (not sure if it's needed)