> On 12 Oct 2016, at 18:22, Tim Graham <timogra...@gmail.com> wrote:
> 
> is there some other approach we could take?

To obtain the pytz timezone for the local time, you’d need something like:
https://github.com/regebro/tzlocal

It isn’t exactly straightforward… This approach seems sub-optimal.

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/8F64A27E-9644-4AFD-B173-6E650886ED74%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to