mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #27327 -- Simplified time zone handling by requiring pytz.
This commit is contained in:
parent
d84ffcc22b
commit
414ad25b09
30 changed files with 109 additions and 426 deletions
|
@ -16,11 +16,6 @@ from django.utils.feedgenerator import (
|
|||
|
||||
from .models import Article, Entry
|
||||
|
||||
try:
|
||||
import pytz
|
||||
except ImportError:
|
||||
pytz = None
|
||||
|
||||
TZ = timezone.get_default_timezone()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue