mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27327 -- Simplified time zone handling by requiring pytz.
This commit is contained in:
@@ -117,9 +117,9 @@ Imports
|
||||
|
||||
# try/except
|
||||
try:
|
||||
import pytz
|
||||
import yaml
|
||||
except ImportError:
|
||||
pytz = None
|
||||
yaml = None
|
||||
|
||||
CONSTANT = 'foo'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user