Azad Rasul
SmartRS

Follow

SmartRS

Follow

5- Database setup

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

1 min read

Play this article

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

Inside PollProject/settings.py, set TIME_ZONE to your time zone. For example, in my case, it is: TIME_ZONE = 'Asia/Baghdad'

py manage.py migrate

If you like the content, please SUBSCRIBE to my channel for the future content

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

 
Share this