diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-18 09:46:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-18 09:46:01 +0100 |
| commit | 3bbe22dafcc69c5ffa79707f5a74eb1faf466e12 (patch) | |
| tree | 4bec6a7016732be33f2e1cddd80c18478cb2dee9 /django/templatetags | |
| parent | d54717118360e8679aa2bd0c5a1625f3e84712ba (diff) | |
Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
Diffstat (limited to 'django/templatetags')
| -rw-r--r-- | django/templatetags/tz.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/django/templatetags/tz.py b/django/templatetags/tz.py index 92240b2a39..f2cee2d3fe 100644 --- a/django/templatetags/tz.py +++ b/django/templatetags/tz.py @@ -1,12 +1,8 @@ +import zoneinfo from datetime import datetime from datetime import timezone as datetime_timezone from datetime import tzinfo -try: - import zoneinfo -except ImportError: - from backports import zoneinfo - from django.template import Library, Node, TemplateSyntaxError from django.utils import timezone |
