1
0
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:
Tim Graham
2016-10-07 21:06:49 -04:00
parent d84ffcc22b
commit 414ad25b09
30 changed files with 109 additions and 426 deletions

View File

@@ -117,9 +117,9 @@ Imports
# try/except
try:
import pytz
import yaml
except ImportError:
pytz = None
yaml = None
CONSTANT = 'foo'