Azad Rasul


5- Database setup

Azad Rasul's photo
Azad Rasul
·May 8, 2022·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

Open up PollProject/ By default, the configuration uses SQLite.

Inside PollProject/, set TIME_ZONE to your time zone. For example, in my case, it be:

TIME_ZONE = 'Asia/Baghdad'

To create the tables in the database we run the following command:

py migrate
Share this