From 2b154ae2803d46c68d3ec78789866d22231a92d0 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 26 Jan 2014 15:35:22 +0100 Subject: [PATCH] Fixed #21880 -- Added missing items to django.utils.timezone.__all__. Thanks Wim for the report. --- django/utils/timezone.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/django/utils/timezone.py b/django/utils/timezone.py index eec554a1ef1..9c70a11a7d7 100644 --- a/django/utils/timezone.py +++ b/django/utils/timezone.py @@ -19,9 +19,11 @@ from django.utils import six __all__ = [ 'utc', 'get_fixed_timezone', - 'get_default_timezone', 'get_current_timezone', + 'get_default_timezone', 'get_default_timezone_name', + 'get_current_timezone', 'get_current_timezone_name', 'activate', 'deactivate', 'override', - 'is_naive', 'is_aware', 'make_aware', 'make_naive', + 'localtime', 'now', + 'is_aware', 'is_naive', 'make_aware', 'make_naive', ]