How to add Indian Standard Time (IST) in Django?

django, python

Solution

Change the field `TIME_ZONE` in the `settings.py`. For the Indian standard time you will need:

TIME_ZONE =  'Asia/Kolkata'

For more information about the TIME_ZONE in Django you can see: https://docs.djangoproject.com/en/dev/ref/settings/#time-zone

Problem

We want to get the current time in India in our Django project. In settings.py, UTC is there by default. How do we change it to IST?

Original source