django-easy-timezones icon indicating copy to clipboard operation
django-easy-timezones copied to clipboard

Why only process middleware?

Open studentIvan opened this issue 9 years ago • 3 comments

We need more functions, for using it in code without django templates

studentIvan avatar Dec 26 '15 19:12 studentIvan

Sure, example?

Miserlou avatar Dec 26 '15 19:12 Miserlou

How I can detect a user timezone from my application code?

studentIvan avatar Dec 30 '15 11:12 studentIvan

The middleware sets a session variable so you can use request.session['django_timezone']

rlburb avatar May 24 '16 17:05 rlburb