[BangPypers] Changing Time Zone dynamically in Django

Gora Mohanty gora at mimirtech.com
Tue Jul 14 10:50:33 CEST 2015


On 14 July 2015 at 13:30, mithun chackravarthy <vbnetmithun at gmail.com> wrote:
>
> Is it possible to change TIME_ZONE variable dynamically in Django?
> The use case is  when a user from IST comes the TIME_ZONE should
> Asia/Kolkata and if some one from GMT comes it should be set to UTC.

https://docs.djangoproject.com/en/1.8/topics/i18n/timezones/#selecting-the-current-time-zone

Regards,
Gora


More information about the BangPypers mailing list