Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #21880 -- Added missing items to django.utils.timezone.__all__.

Thanks Wim for the report.
  • Loading branch information...
commit 2b154ae2803d46c68d3ec78789866d22231a92d0 1 parent 4f03b71
@aaugustin aaugustin authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 django/utils/timezone.py
View
6 django/utils/timezone.py
@@ -19,9 +19,11 @@
__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',
]
Please sign in to comment.
Something went wrong with that request. Please try again.