Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Fixed #21880 -- Added missing items to django.utils.timezone.…

…__all__.

Thanks Wim for the report.

Backport of 2b154ae from master.
  • Loading branch information...
commit db60a520857dfe1564d824809dacfffd55662a16 1 parent a0a6112
Aymeric Augustin aaugustin authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 django/utils/timezone.py
7 django/utils/timezone.py
View
@@ -18,9 +18,12 @@
from django.utils import six
__all__ = [
- 'utc', 'get_default_timezone', 'get_current_timezone',
+ 'utc',
+ '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',
]
Please sign in to comment.
Something went wrong with that request. Please try again.