Answers for "changing timezone in django"

1

how to set indian timezone in django

#Tested it's working modify into settings.py file
TIME_ZONE = 'Asia/Kolkata'
Posted by: Guest on June-21-2021
2

django datetime field timezone

if you  need timezone input from your user, 
 you will need to set USE_TZ = False in setting.py
then use DateTimeField which is naive datetime 
along with CharField to store timezone information in your models.py.
Posted by: Guest on December-09-2020

Python Answers by Framework

Browse Popular Code Answers by Language