def with_tz(request):
    
    dt = datetime.now() 
    t = Template('{% load tz %}{% localtime on %}{% get_current_timezone as TIME_ZONE %}{{ TIME_ZONE }}{% endlocaltime %}') 
    c = RequestContext(request)
    response = t.render(c)
    return HttpResponse(response)
Get the time with TZ enabled
dataset/ETHPy150Open Miserlou/django-easy-timezones/easy_timezones/views.py/with_tz